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

pubmedid.h File Reference

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

Go to the source code of this file.

Typedefs

typedef rnamlPUBMEDID rnamlPubmedId
 Rnaml structure containing the pubmedid informations.


Functions

rnamlPubmedIdrnamlnewPubmedId ()
 Creates a new rnamlPubmedId structure.

rnamlPubmedIdrnamlclonePubmedId (const rnamlPubmedId *pubmedid)
 Clones a rnamlPubmedId struture.

void rnamldeletePubmedId (rnamlPubmedId *pubmedid)
 Frees the rnamlPubmedId structure.

int rnamlisPubmedId (const rnamlObject *obj)
 Tells wheter the object is a rnamlPubmedId.

int rnamlequalsPubmedId (const rnamlPubmedId *left, const rnamlPubmedId *right)
 Tells if left and right are equals.

const char * rnamlgetPubmedIdValue (const rnamlPubmedId *pubmedId)
 Gets the value pubmedId.

void rnamlsetPubmedIdValue (rnamlPubmedId *pubmedId, const char *value)
 Sets the pubmedId value.

xmlcpgObjectrnamltoXMLPubmedId (const rnamlPubmedId *pubmedId)
 Translates the rnamlPubmedId structure into a xmlcpgElement conforming to the RNAML standard.


Typedef Documentation

typedef struct rnamlPUBMEDID rnamlPubmedId
 

Rnaml structure containing the pubmedid informations.


Function Documentation

rnamlPubmedId* rnamlclonePubmedId const rnamlPubmedId   pubmedid
 

Clones a rnamlPubmedId struture.

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

void rnamldeletePubmedId rnamlPubmedId   pubmedid
 

Frees the rnamlPubmedId structure.

Parameters:
pubmedid  the rnamlPubmedId structure to free.

int rnamlequalsPubmedId const rnamlPubmedId   left,
const rnamlPubmedId   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* rnamlgetPubmedIdValue const rnamlPubmedId   pubmedId
 

Gets the value pubmedId.

Parameters:
pubmedId  the rnamlPubmedId structure.
Returns:
the pubmedId value string or NULL if pubmedId is NULL or not an rnamlPubmedId.

int rnamlisPubmedId const rnamlObject   obj
 

Tells wheter the object is a rnamlPubmedId.

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

rnamlPubmedId* rnamlnewPubmedId  
 

Creates a new rnamlPubmedId structure.

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

void rnamlsetPubmedIdValue rnamlPubmedId   pubmedId,
const char *    value
 

Sets the pubmedId value.

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

Parameters:
pubmedId  the rnamlPubmedId structure.
value  the pubmedId value.

xmlcpgObject* rnamltoXMLPubmedId const rnamlPubmedId   pubmedId
 

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

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