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

baseid5p.c File Reference

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

Compounds

struct  rnamlBASEID5P

Functions

rnamlBaseId5prnamlnewBaseId5p ()
 Creates a new rnamlBaseId5p structure.

rnamlBaseId5prnamlcloneBaseId5p (const rnamlBaseId5p *baseId5p)
 Clones a rnamlBaseId5p struture.

void rnamldeleteBaseId5p (rnamlBaseId5p *baseId5p)
 Frees the rnamlBaseId5p structure.

int rnamlisBaseId5p (const rnamlObject *obj)
 Tells wheter the object is a rnamlBaseId5p.

int rnamlequalsBaseId5p (const rnamlBaseId5p *left, const rnamlBaseId5p *right)
 Tells if left and right are equals.

rnamlBaseIdrnamlgetBaseId5pBaseId (rnamlBaseId5p *baseId5p)
 Gets the baseId from the baseId5p.

void rnamlsetBaseId5pBaseId (rnamlBaseId5p *baseId5p, rnamlBaseId *baseId)
 Sets the baseId5p baseId.

xmlcpgObjectrnamltoXMLBaseId5p (const rnamlBaseId5p *baseId5p)
 Translates the rnamlBaseId5p structure into a xmlcpgElement conforming to the RNAML standard.


Function Documentation

rnamlBaseId5p* rnamlcloneBaseId5p const rnamlBaseId5p   baseid5p
 

Clones a rnamlBaseId5p struture.

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

void rnamldeleteBaseId5p rnamlBaseId5p   baseid5p
 

Frees the rnamlBaseId5p structure.

Parameters:
baseid5p  the rnamlBaseId5p structure to free.

int rnamlequalsBaseId5p const rnamlBaseId5p   left,
const rnamlBaseId5p   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.

rnamlBaseId* rnamlgetBaseId5pBaseId rnamlBaseId5p   baseId5p
 

Gets the baseId from the baseId5p.

Parameters:
baseId5p  the rnamlBaseId5p structure.
Returns:
the baseId5p baseId is NULL or if baseId5p is NULL or not an rnamlBaseId5p.

int rnamlisBaseId5p const rnamlObject   obj
 

Tells wheter the object is a rnamlBaseId5p.

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

rnamlBaseId5p* rnamlnewBaseId5p  
 

Creates a new rnamlBaseId5p structure.

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

void rnamlsetBaseId5pBaseId rnamlBaseId5p   baseId5p,
rnamlBaseId   baseId
 

Sets the baseId5p baseId.

The previous baseId info is freed

Parameters:
baseId5p  the rnamlBaseId5p structure.
baseId5p  the baseId5p baseId.

xmlcpgObject* rnamltoXMLBaseId5p const rnamlBaseId5p   baseId5p
 

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

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


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