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

modelid.h File Reference

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

Go to the source code of this file.

Typedefs

typedef rnamlMODELID rnamlModelId
 Rnaml structure containing the modelid informations.


Functions

rnamlModelIdrnamlnewModelId ()
 Creates a new rnamlModelId structure.

rnamlModelIdrnamlcloneModelId (const rnamlModelId *modelid)
 Clones a rnamlModelId struture.

void rnamldeleteModelId (rnamlModelId *modelid)
 Frees the rnamlModelId structure.

int rnamlisModelId (const rnamlObject *obj)
 Tells wheter the object is a rnamlModelId.

int rnamlequalsModelId (const rnamlModelId *left, const rnamlModelId *right)
 Tells if left and right are equals.

const char * rnamlgetModelIdRef (const rnamlModelId *modelId)
 Gets the modelId ref.

void rnamlsetModelIdRef (rnamlModelId *modelId, const char *ref)
 Sets the modelId ref.

xmlcpgObjectrnamltoXMLModelId (const rnamlModelId *modelId)
 Translates the rnamlModelId structure into a xmlcpgElement conforming to the RNAML standard.


Typedef Documentation

typedef struct rnamlMODELID rnamlModelId
 

Rnaml structure containing the modelid informations.


Function Documentation

rnamlModelId* rnamlcloneModelId const rnamlModelId   modelid
 

Clones a rnamlModelId struture.

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

void rnamldeleteModelId rnamlModelId   modelid
 

Frees the rnamlModelId structure.

Parameters:
modelid  the rnamlModelId structure to free.

int rnamlequalsModelId const rnamlModelId   left,
const rnamlModelId   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* rnamlgetModelIdRef const rnamlModelId   modelId
 

Gets the modelId ref.

Parameters:
modelId  the rnamlModelId structure.
Returns:
the modelId ref string or NULL if modelId is NULL or not an rnamlModelId.

int rnamlisModelId const rnamlObject   obj
 

Tells wheter the object is a rnamlModelId.

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

rnamlModelId* rnamlnewModelId  
 

Creates a new rnamlModelId structure.

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

void rnamlsetModelIdRef rnamlModelId   modelId,
const char *    ref
 

Sets the modelId ref.

The previous modelId ref is freed and a copy of ref is generated.

Parameters:
modelId  the rnamlModelId structure.
ref  the modelId ref.

xmlcpgObject* rnamltoXMLModelId const rnamlModelId   modelId
 

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

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


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