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

progname.h File Reference

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

Go to the source code of this file.

Typedefs

typedef rnamlPROGNAME rnamlProgName
 Rnaml structure containing the progname informations.


Functions

rnamlProgNamernamlnewProgName ()
 Creates a new rnamlProgName structure.

rnamlProgNamernamlcloneProgName (const rnamlProgName *progname)
 Clones a rnamlProgName struture.

void rnamldeleteProgName (rnamlProgName *progname)
 Frees the rnamlProgName structure.

int rnamlisProgName (const rnamlObject *obj)
 Tells wheter the object is a rnamlProgName.

int rnamlequalsProgName (const rnamlProgName *left, const rnamlProgName *right)
 Tells if left and right are equals.

const char * rnamlgetProgNameValue (const rnamlProgName *progName)
 Gets the value progName.

void rnamlsetProgNameValue (rnamlProgName *progName, const char *value)
 Sets the progName value.

xmlcpgObjectrnamltoXMLProgName (const rnamlProgName *progName)
 Translates the rnamlProgName structure into a xmlcpgElement conforming to the RNAML standard.


Typedef Documentation

typedef struct rnamlPROGNAME rnamlProgName
 

Rnaml structure containing the progname informations.


Function Documentation

rnamlProgName* rnamlcloneProgName const rnamlProgName   progname
 

Clones a rnamlProgName struture.

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

void rnamldeleteProgName rnamlProgName   progname
 

Frees the rnamlProgName structure.

Parameters:
progname  the rnamlProgName structure to free.

int rnamlequalsProgName const rnamlProgName   left,
const rnamlProgName   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.

const char* rnamlgetProgNameValue const rnamlProgName   progName
 

Gets the value progName.

Parameters:
progName  the rnamlProgName structure.
Returns:
the progName value string or NULL if progName is NULL or not an rnamlProgName.

int rnamlisProgName const rnamlObject   obj
 

Tells wheter the object is a rnamlProgName.

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

rnamlProgName* rnamlnewProgName  
 

Creates a new rnamlProgName structure.

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

void rnamlsetProgNameValue rnamlProgName   progName,
const char *    value
 

Sets the progName value.

The previous progName value is freed and a copy of value is generated.

Parameters:
progName  the rnamlProgName structure.
value  the progName value.

xmlcpgObject* rnamltoXMLProgName const rnamlProgName   progName
 

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

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