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

marshaller.h File Reference

#include <stdio.h>
#include "object.h"
#include "printstream.h"
#include "rnaml.h"

Go to the source code of this file.

Typedefs

typedef rnamlMARSHALLER rnamlMarshaller
 The marshaller structure.


Functions

rnamlMarshallerrnamlnewMarshaller ()
 Creates a new rnamlMarshaller structure.

rnamlMarshallerrnamlcloneMarshaller (const rnamlMarshaller *marshaller)
 Clones a rnamlMarshaller structure.

void rnamldeleteMarshaller (rnamlMarshaller *marshaller)
 Frees the rnamlMarshaller structure.

int rnamlisMarshaller (const rnamlObject *obj)
 Tells wether the object is a rnamlMarshaller.

int rnamlequalsMarshaller (const rnamlMarshaller *left, const rnamlMarshaller *right)
 Tells if both structures are rnamlMarshaller and equals.

void rnamlsetMarshallerValidating (rnamlMarshaller *marshaller, int validating)
 Set the validation flag.

void rnamlsetMarshallerFormatted (rnamlMarshaller *marshaller, int formatted)
 Set the formatting flag.

void rnamlmarshallMarshaller (rnamlMarshaller *marshaller, const rnamlRnaml *rnaml, FILE *f)
 Writes the rnamlRnaml to the output stream.

void rnamlmarshallMarshallerStream (rnamlMarshaller *marshaller, const rnamlRnaml *rnaml, xmlcpgPrintStream *ps)
 Writes the rnamlRnaml to the xmlcgp print stream.


Typedef Documentation

typedef struct rnamlMARSHALLER rnamlMarshaller
 

The marshaller structure.


Function Documentation

rnamlMarshaller* rnamlcloneMarshaller const rnamlMarshaller   marshaller
 

Clones a rnamlMarshaller structure.

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

void rnamldeleteMarshaller rnamlMarshaller   marshaller
 

Frees the rnamlMarshaller structure.

Parameters:
marshaller  the structure to free.

int rnamlequalsMarshaller const rnamlMarshaller   left,
const rnamlMarshaller   right
 

Tells if both structures are rnamlMarshaller and equals.

Parameters:
left  the left structure.
right  the right structure.
Returns:
1 if the objects are equals, 0 otherwise.

int rnamlisMarshaller const rnamlObject   obj
 

Tells wether the object is a rnamlMarshaller.

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

void rnamlmarshallMarshaller rnamlMarshaller   marshaller,
const rnamlRnaml   rnaml,
FILE *    f
 

Writes the rnamlRnaml to the output stream.

Parameters:
marshaller  the rnamlMarshaller structure.
rnaml  the rnamlRnaml structure.
f  the output stream.

void rnamlmarshallMarshallerStream rnamlMarshaller   marshaller,
const rnamlRnaml   rnaml,
xmlcpgPrintStream   ps
 

Writes the rnamlRnaml to the xmlcgp print stream.

Parameters:
marshaller  the rnamlMarshaller structure.
rnaml  the rnamlRnaml structure.
ps  the xmlcpg print stream.

rnamlMarshaller* rnamlnewMarshaller  
 

Creates a new rnamlMarshaller structure.

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

void rnamlsetMarshallerFormatted rnamlMarshaller   marshaller,
int    formatted
 

Set the formatting flag.

Parameters:
marshaller  the rnamlMarshaller structure.
formatted  the formatting flag.

void rnamlsetMarshallerValidating rnamlMarshaller   marshaller,
int    validating
 

Set the validation flag.

Parameters:
marshaller  the rnamlMarshaller structure.
validating  the validation flag.


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