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

baseid3p.c File Reference

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

Compounds

struct  rnamlBASEID3P

Functions

rnamlBaseId3prnamlnewBaseId3p ()
 Creates a new rnamlBaseId3p structure.

rnamlBaseId3prnamlcloneBaseId3p (const rnamlBaseId3p *baseId3p)
 Clones a rnamlBaseId3p struture.

void rnamldeleteBaseId3p (rnamlBaseId3p *baseId3p)
 Frees the rnamlBaseId3p structure.

int rnamlisBaseId3p (const rnamlObject *obj)
 Tells wheter the object is a rnamlBaseId3p.

int rnamlequalsBaseId3p (const rnamlBaseId3p *left, const rnamlBaseId3p *right)
 Tells if left and right are equals.

rnamlBaseIdrnamlgetBaseId3pBaseId (rnamlBaseId3p *baseId3p)
 Gets the baseId from the baseId3p.

void rnamlsetBaseId3pBaseId (rnamlBaseId3p *baseId3p, rnamlBaseId *baseId)
 Sets the baseId3p baseId.

xmlcpgObjectrnamltoXMLBaseId3p (const rnamlBaseId3p *baseId3p)
 Translates the rnamlBaseId3p structure into a xmlcpgElement conforming to the RNAML standard.


Function Documentation

rnamlBaseId3p* rnamlcloneBaseId3p const rnamlBaseId3p   baseid3p
 

Clones a rnamlBaseId3p struture.

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

void rnamldeleteBaseId3p rnamlBaseId3p   baseid3p
 

Frees the rnamlBaseId3p structure.

Parameters:
baseid3p  the rnamlBaseId3p structure to free.

int rnamlequalsBaseId3p const rnamlBaseId3p   left,
const rnamlBaseId3p   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* rnamlgetBaseId3pBaseId rnamlBaseId3p   baseId3p
 

Gets the baseId from the baseId3p.

Parameters:
baseId3p  the rnamlBaseId3p structure.
Returns:
the baseId3p baseId is NULL or if baseId3p is NULL or not an rnamlBaseId3p.

int rnamlisBaseId3p const rnamlObject   obj
 

Tells wheter the object is a rnamlBaseId3p.

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

rnamlBaseId3p* rnamlnewBaseId3p  
 

Creates a new rnamlBaseId3p structure.

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

void rnamlsetBaseId3pBaseId rnamlBaseId3p   baseId3p,
rnamlBaseId   baseId
 

Sets the baseId3p baseId.

The previous baseId info is freed

Parameters:
baseId3p  the rnamlBaseId3p structure.
baseId3p  the baseId3p baseId.

xmlcpgObject* rnamltoXMLBaseId3p const rnamlBaseId3p   baseId3p
 

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

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