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

alignmentid.c File Reference

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

Compounds

struct  rnamlALIGNMENTID

Functions

rnamlAlignmentIdrnamlnewAlignmentId ()
 Creates a new rnamlAlignmentId structure.

rnamlAlignmentIdrnamlcloneAlignmentId (const rnamlAlignmentId *alignmentId)
 Clones a rnamlAlignmentId struture.

void rnamldeleteAlignmentId (rnamlAlignmentId *alignmentId)
 Frees the rnamlAlignmentId structure.

int rnamlisAlignmentId (const rnamlObject *obj)
 Tells wheter the object is a rnamlAlignmentId.

int rnamlequalsAlignmentId (const rnamlAlignmentId *left, const rnamlAlignmentId *right)
 Tells if left and right are equals.

const char * rnamlgetAlignmentIdRef (const rnamlAlignmentId *alignmentId)
 Gets the alignmentId ref.

void rnamlsetAlignmentIdRef (rnamlAlignmentId *alignmentId, const char *ref)
 Sets the alignmentId ref.

xmlcpgObjectrnamltoXMLAlignmentId (const rnamlAlignmentId *alignmentId)
 Translates the rnamlAlignmentId structure into a xmlcpgElement conforming to the RNAML standard.


Function Documentation

rnamlAlignmentId* rnamlcloneAlignmentId const rnamlAlignmentId   alignmentid
 

Clones a rnamlAlignmentId struture.

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

void rnamldeleteAlignmentId rnamlAlignmentId   alignmentid
 

Frees the rnamlAlignmentId structure.

Parameters:
alignmentid  the rnamlAlignmentId structure to free.

int rnamlequalsAlignmentId const rnamlAlignmentId   left,
const rnamlAlignmentId   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* rnamlgetAlignmentIdRef const rnamlAlignmentId   alignmentId
 

Gets the alignmentId ref.

Parameters:
alignmentId  the rnamlAlignmentId structure.
Returns:
the alignmentId ref string or NULL if alignmentId is NULL or not an rnamlAlignmentId.

int rnamlisAlignmentId const rnamlObject   obj
 

Tells wheter the object is a rnamlAlignmentId.

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

rnamlAlignmentId* rnamlnewAlignmentId  
 

Creates a new rnamlAlignmentId structure.

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

void rnamlsetAlignmentIdRef rnamlAlignmentId   alignmentId,
const char *    ref
 

Sets the alignmentId ref.

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

Parameters:
alignmentId  the rnamlAlignmentId structure.
ref  the alignmentId ref.

xmlcpgObject* rnamltoXMLAlignmentId const rnamlAlignmentId   alignmentId
 

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

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


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