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

issue.h File Reference

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

Go to the source code of this file.

Typedefs

typedef rnamlISSUE rnamlIssue
 Rnaml structure containing the issue informations.


Functions

rnamlIssuernamlnewIssue ()
 Creates a new rnamlIssue structure.

rnamlIssuernamlcloneIssue (const rnamlIssue *issue)
 Clones a rnamlIssue struture.

void rnamldeleteIssue (rnamlIssue *issue)
 Frees the rnamlIssue structure.

int rnamlisIssue (const rnamlObject *obj)
 Tells wheter the object is a rnamlIssue.

int rnamlequalsIssue (const rnamlIssue *left, const rnamlIssue *right)
 Tells if left and right are equals.

int rnamlgetIssueValue (const rnamlIssue *issue)
 Gets the issue value.

void rnamlsetIssueValue (rnamlIssue *issue, int value)
 Sets the issue value.

xmlcpgObjectrnamltoXMLIssue (const rnamlIssue *issue)
 Translates the rnamlIssue structure into a xmlcpgElement conforming to the RNAML standard.


Typedef Documentation

typedef struct rnamlISSUE rnamlIssue
 

Rnaml structure containing the issue informations.


Function Documentation

rnamlIssue* rnamlcloneIssue const rnamlIssue   issue
 

Clones a rnamlIssue struture.

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

void rnamldeleteIssue rnamlIssue   issue
 

Frees the rnamlIssue structure.

Parameters:
issue  the rnamlIssue structure to free.

int rnamlequalsIssue const rnamlIssue   left,
const rnamlIssue   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.

int rnamlgetIssueValue const rnamlIssue   issue
 

Gets the issue value.

Parameters:
issue  the rnamlIssue structure.
Returns:
the issue value or -1 if issue is NULL or not an rnamlIssue.

int rnamlisIssue const rnamlObject   obj
 

Tells wheter the object is a rnamlIssue.

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

rnamlIssue* rnamlnewIssue  
 

Creates a new rnamlIssue structure.

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

void rnamlsetIssueValue rnamlIssue   issue,
int    value
 

Sets the issue value.

Parameters:
issue  the rnamlIssue structure.
value  the issue value.

xmlcpgObject* rnamltoXMLIssue const rnamlIssue   issue
 

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

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


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