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

seqannotation.h File Reference

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

Go to the source code of this file.

Typedefs

typedef rnamlSEQANNOTATION rnamlSeqAnnotation
 Rnaml structure containing the seqannotation informations.


Functions

rnamlSeqAnnotationrnamlnewSeqAnnotation ()
 Creates a new rnamlSeqAnnotation structure.

rnamlSeqAnnotationrnamlcloneSeqAnnotation (const rnamlSeqAnnotation *seqannotation)
 Clones a rnamlSeqAnnotation struture.

void rnamldeleteSeqAnnotation (rnamlSeqAnnotation *seqannotation)
 Frees the rnamlSeqAnnotation structure.

int rnamlisSeqAnnotation (const rnamlObject *obj)
 Tells wheter the object is a rnamlSeqAnnotation.

int rnamlequalsSeqAnnotation (const rnamlSeqAnnotation *left, const rnamlSeqAnnotation *right)
 Tells if left and right are equals.

xmlcpgListrnamlgetSeqAnnotationChild (const rnamlSeqAnnotation *seqAnnotation)
 Gets the child from the seqAnnotation collection.

void rnamladdSeqAnnotationChild (rnamlSeqAnnotation *seqAnnotation, rnamlObject *child)
 Adds a seqAnnotation child.

xmlcpgObjectrnamltoXMLSeqAnnotation (const rnamlSeqAnnotation *seqAnnotation)
 Translates the rnamlSeqAnnotation structure into a xmlcpgElement conforming to the RNAML standard.


Typedef Documentation

typedef struct rnamlSEQANNOTATION rnamlSeqAnnotation
 

Rnaml structure containing the seqannotation informations.


Function Documentation

void rnamladdSeqAnnotationChild rnamlSeqAnnotation   seqAnnotation,
rnamlObject   child
 

Adds a seqAnnotation child.

Parameters:
seqAnnotation  the rnamlSeqAnnotation structure.
child  the rnaml substructure converted into xmlcpgObject.

rnamlSeqAnnotation* rnamlcloneSeqAnnotation const rnamlSeqAnnotation   seqannotation
 

Clones a rnamlSeqAnnotation struture.

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

void rnamldeleteSeqAnnotation rnamlSeqAnnotation   seqannotation
 

Frees the rnamlSeqAnnotation structure.

Parameters:
seqannotation  the rnamlSeqAnnotation structure to free.

int rnamlequalsSeqAnnotation const rnamlSeqAnnotation   left,
const rnamlSeqAnnotation   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* rnamlgetSeqAnnotationChild const rnamlSeqAnnotation   seqAnnotation
 

Gets the child from the seqAnnotation collection.

Parameters:
seqAnnotation  the rnamlSeqAnnotation structure.
Returns:
the seqAnnotation child collection

int rnamlisSeqAnnotation const rnamlObject   obj
 

Tells wheter the object is a rnamlSeqAnnotation.

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

rnamlSeqAnnotation* rnamlnewSeqAnnotation  
 

Creates a new rnamlSeqAnnotation structure.

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

xmlcpgObject* rnamltoXMLSeqAnnotation const rnamlSeqAnnotation   seqAnnotation
 

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

Parameters:
molecule  the rnamlSeqAnnotation 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