Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

strannotation.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "strannotation.h"

Compounds

struct  rnamlSTRANNOTATION

Functions

rnamlStrAnnotationrnamlnewStrAnnotation ()
 Creates a new rnamlStrAnnotation structure.

rnamlStrAnnotationrnamlcloneStrAnnotation (const rnamlStrAnnotation *strAnnotation)
 Clones a rnamlStrAnnotation struture.

void rnamldeleteStrAnnotation (rnamlStrAnnotation *strAnnotation)
 Frees the rnamlStrAnnotation structure.

int rnamlisStrAnnotation (const rnamlObject *obj)
 Tells wheter the object is a rnamlStrAnnotation.

int rnamlequalsStrAnnotation (const rnamlStrAnnotation *left, const rnamlStrAnnotation *right)
 Tells if left and right are equals.

void rnamladdStrAnnotationChild (rnamlStrAnnotation *strAnnotation, rnamlObject *obj)
 Adds a strAnnotation child.

xmlcpgListrnamlgetStrAnnotationChildren (const rnamlStrAnnotation *strAnnotation)
 Gets the children from the strAnnotation collection.

xmlcpgObjectrnamltoXMLStrAnnotation (const rnamlStrAnnotation *strAnnotation)
 Translates the rnamlStrAnnotation structure into a xmlcpgElement conforming to the RNAML standard.


Function Documentation

void rnamladdStrAnnotationChild rnamlStrAnnotation   strAnnotation,
rnamlObject   child
 

Adds a strAnnotation child.

Parameters:
strAnnotation  the rnamlStrAnnotation structure.
child  the rnaml substructure converted into xmlcpgObject.

rnamlStrAnnotation* rnamlcloneStrAnnotation const rnamlStrAnnotation   strannotation
 

Clones a rnamlStrAnnotation struture.

Parameters:
strannotation  the structure to clone.
Returns:
the new allocated structure or NULL if something goes wrong.

void rnamldeleteStrAnnotation rnamlStrAnnotation   strannotation
 

Frees the rnamlStrAnnotation structure.

Parameters:
strannotation  the rnamlStrAnnotation structure to free.

int rnamlequalsStrAnnotation const rnamlStrAnnotation   left,
const rnamlStrAnnotation   right
 

Tells if left and right are equals.

Parameters:
left  the left object to compare.
right  the right object to compare.
Returns:
1 if the objects are equals or 0 otherwise.

xmlcpgList* rnamlgetStrAnnotationChildren const rnamlStrAnnotation   strAnnotation
 

Gets the children from the strAnnotation collection.

Parameters:
strAnnotation  the rnamlStrAnnotation structure.
Returns:
the strAnnotation children collection

int rnamlisStrAnnotation const rnamlObject   obj
 

Tells wheter the object is a rnamlStrAnnotation.

Parameters:
obj  the rnamlObject to test.
Returns:
1 if the object is a rnamlStrAnnotation, 0 otherwise.

rnamlStrAnnotation* rnamlnewStrAnnotation  
 

Creates a new rnamlStrAnnotation structure.

Returns:
the new allocated structure or NULL if something goes wrong.

xmlcpgObject* rnamltoXMLStrAnnotation const rnamlStrAnnotation   strAnnotation
 

Translates the rnamlStrAnnotation structure into a xmlcpgElement conforming to the RNAML standard.

Parameters:
molecule  the rnamlStrAnnotation structure to translate.
Returns:
the xmlcpgObject or NULL if something goes wrong.


Generated on Tue Nov 11 14:59:52 2003 for xmlcpg by doxygen1.2.18