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

strannotation.h File Reference

#include "object.h"
#include "xmlcpg.h"

Go to the source code of this file.

Typedefs

typedef rnamlSTRANNOTATION rnamlStrAnnotation
 Rnaml structure containing the strannotation informations.


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.

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

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

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


Typedef Documentation

typedef struct rnamlSTRANNOTATION rnamlStrAnnotation
 

Rnaml structure containing the strannotation informations.


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:53 2003 for xmlcpg by doxygen1.2.18