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

program.h File Reference

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

Go to the source code of this file.

Typedefs

typedef rnamlPROGRAM rnamlProgram
 Rnaml structure containing the program informations.


Functions

rnamlProgramrnamlnewProgram ()
 Creates a new rnamlProgram structure.

rnamlProgramrnamlcloneProgram (const rnamlProgram *program)
 Clones a rnamlProgram struture.

void rnamldeleteProgram (rnamlProgram *program)
 Frees the rnamlProgram structure.

int rnamlisProgram (const rnamlObject *obj)
 Tells wheter the object is a rnamlProgram.

int rnamlequalsProgram (const rnamlProgram *left, const rnamlProgram *right)
 Tells if left and right are equals.

xmlcpgListrnamlgetProgramChildren (const rnamlProgram *program)
 Gets the children from the program collection.

void rnamladdProgramChild (rnamlProgram *program, rnamlObject *child)
 Adds a program child.

xmlcpgObjectrnamltoXMLProgram (const rnamlProgram *program)
 Translates the rnamlProgram structure into a xmlcpgElement conforming to the RNAML standard.


Typedef Documentation

typedef struct rnamlPROGRAM rnamlProgram
 

Rnaml structure containing the program informations.


Function Documentation

void rnamladdProgramChild rnamlProgram   program,
rnamlObject   child
 

Adds a program child.

Parameters:
program  the rnamlProgram structure.
child  the rnaml substructure converted into xmlcpgObject.

rnamlProgram* rnamlcloneProgram const rnamlProgram   program
 

Clones a rnamlProgram struture.

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

void rnamldeleteProgram rnamlProgram   program
 

Frees the rnamlProgram structure.

Parameters:
program  the rnamlProgram structure to free.

int rnamlequalsProgram const rnamlProgram   left,
const rnamlProgram   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* rnamlgetProgramChildren const rnamlProgram   program
 

Gets the children from the program collection.

Parameters:
program  the rnamlProgram structure.
Returns:
the program children collection

int rnamlisProgram const rnamlObject   obj
 

Tells wheter the object is a rnamlProgram.

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

rnamlProgram* rnamlnewProgram  
 

Creates a new rnamlProgram structure.

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

xmlcpgObject* rnamltoXMLProgram const rnamlProgram   program
 

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

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


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