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

seqannotation.c File Reference

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

Compounds

struct  rnamlSEQANNOTATION

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.

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

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

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


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