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

interactions.c File Reference

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

Compounds

struct  rnamlINTERACTIONS

Functions

rnamlInteractionsrnamlnewInteractions ()
 Creates a new rnamlInteractions structure.

rnamlInteractionsrnamlcloneInteractions (const rnamlInteractions *interactions)
 Clones a rnamlInteractions struture.

void rnamldeleteInteractions (rnamlInteractions *interactions)
 Frees the rnamlInteractions structure.

int rnamlisInteractions (const rnamlObject *obj)
 Tells wheter the object is a rnamlInteractions.

int rnamlequalsInteractions (const rnamlInteractions *left, const rnamlInteractions *right)
 Tells if left and right are equals.

void rnamladdInteractionsStrAnnotation (rnamlInteractions *interactions, rnamlStrAnnotation *strAnnotation)
 Adds a strAnnotation into a interactions.

xmlcpgListrnamlgetInteractionsStrAnnotations (rnamlInteractions *interactions)
 Gets the interactions's strAnnotation list.

xmlcpgObjectrnamltoXMLInteractions (const rnamlInteractions *interactions)
 Translates the rnamlInteractions structure into a xmlcpgElement conforming to the RNAML standard.


Function Documentation

void rnamladdInteractionsStrAnnotation rnamlInteractions   interactions,
rnamlStrAnnotation   strAnnotation
 

Adds a strAnnotation into a interactions.

Parameters:
interactions  the rnamlInteractions structure.
strAnnotation  the rnamlStrAnnotation structure.

rnamlInteractions* rnamlcloneInteractions const rnamlInteractions   interactions
 

Clones a rnamlInteractions struture.

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

void rnamldeleteInteractions rnamlInteractions   interactions
 

Frees the rnamlInteractions structure.

Parameters:
interactions  the rnamlInteractions structure to free.

int rnamlequalsInteractions const rnamlInteractions   left,
const rnamlInteractions   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.

xmlcpgList* rnamlgetInteractionsStrAnnotations rnamlInteractions   interactions
 

Gets the interactions's strAnnotation list.

Parameters:
interactions  the rnamlInteractions structure.
Returns:
the interactions's strAnnotation xmlcpgList or NULL if something goes wrong.

int rnamlisInteractions const rnamlObject   obj
 

Tells wheter the object is a rnamlInteractions.

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

rnamlInteractions* rnamlnewInteractions  
 

Creates a new rnamlInteractions structure.

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

xmlcpgObject* rnamltoXMLInteractions const rnamlInteractions   interactions
 

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

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


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