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

progversion.c File Reference

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

Compounds

struct  rnamlPROGVERSION

Functions

rnamlProgVersionrnamlnewProgVersion ()
 Creates a new rnamlProgVersion structure.

rnamlProgVersionrnamlcloneProgVersion (const rnamlProgVersion *progVersion)
 Clones a rnamlProgVersion struture.

void rnamldeleteProgVersion (rnamlProgVersion *progVersion)
 Frees the rnamlProgVersion structure.

int rnamlisProgVersion (const rnamlObject *obj)
 Tells wheter the object is a rnamlProgVersion.

int rnamlequalsProgVersion (const rnamlProgVersion *left, const rnamlProgVersion *right)
 Tells if left and right are equals.

const char * rnamlgetProgVersionValue (const rnamlProgVersion *progVersion)
 Gets the value progVersion.

void rnamlsetProgVersionValue (rnamlProgVersion *progVersion, const char *value)
 Sets the progVersion value.

xmlcpgObjectrnamltoXMLProgVersion (const rnamlProgVersion *progVersion)
 Translates the rnamlProgVersion structure into a xmlcpgElement conforming to the RNAML standard.


Function Documentation

rnamlProgVersion* rnamlcloneProgVersion const rnamlProgVersion   progversion
 

Clones a rnamlProgVersion struture.

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

void rnamldeleteProgVersion rnamlProgVersion   progversion
 

Frees the rnamlProgVersion structure.

Parameters:
progversion  the rnamlProgVersion structure to free.

int rnamlequalsProgVersion const rnamlProgVersion   left,
const rnamlProgVersion   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* rnamlgetProgVersionValue const rnamlProgVersion   progVersion
 

Gets the value progVersion.

Parameters:
progVersion  the rnamlProgVersion structure.
Returns:
the progVersion value string or NULL if progVersion is NULL or not an rnamlProgVersion.

int rnamlisProgVersion const rnamlObject   obj
 

Tells wheter the object is a rnamlProgVersion.

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

rnamlProgVersion* rnamlnewProgVersion  
 

Creates a new rnamlProgVersion structure.

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

void rnamlsetProgVersionValue rnamlProgVersion   progVersion,
const char *    value
 

Sets the progVersion value.

The previous progVersion value is freed and a copy of value is generated.

Parameters:
progVersion  the rnamlProgVersion structure.
value  the progVersion value.

xmlcpgObject* rnamltoXMLProgVersion const rnamlProgVersion   progVersion
 

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

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


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