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

rnaml::Marshaller Class Reference

#include <Marshaller.h>

List of all members.

Public Methods

 Marshaller ()
 Constructor of the object Marshaller.

 Marshaller (const Marshaller &right)
 Constructor by copy of the object Marshaller.

Marshaller * clone () const
 Clones the object.

virtual ~Marshaller ()
 Destructor of the object.

Marshaller & operator= (const Marshaller &right)
 Assigns the object with the right's content.

bool operator== (const Marshaller &right) const
 Compares the specified object with this collection for equality.

void setValidating (bool validating)
 Set the validation flag.

void setFormatted (bool formatted)
 Set the formatting flag.

void marshall (const Rnaml &rnaml, FILE *f) const
 Writes the rnamlRnaml to the output stream.

void marshall (const Rnaml &rnaml, PrintStream &ps) const
 Writes the rnamlRnaml to the print stream.


Private Attributes

rnamlMarshallermarshaller
 The marshaller C structure.


Constructor & Destructor Documentation

rnaml::Marshaller::Marshaller  
 

Constructor of the object Marshaller.

rnaml::Marshaller::Marshaller const Marshaller &    right
 

Constructor by copy of the object Marshaller.

Parameters:
right  the Marshaller to be copied

rnaml::Marshaller::~Marshaller   [virtual]
 

Destructor of the object.


Member Function Documentation

Marshaller* rnaml::Marshaller::clone   const [inline]
 

Clones the object.

Returns:
a copy of the object.

void rnaml::Marshaller::marshall const Rnaml   rnaml,
PrintStream   ps
const
 

Writes the rnamlRnaml to the print stream.

Parameters:
rnaml  the Rnaml structure.
ps  the print stream.

void rnaml::Marshaller::marshall const Rnaml   rnaml,
FILE *    f
const
 

Writes the rnamlRnaml to the output stream.

Parameters:
rnaml  the Rnaml structure.
f  the output stream.

Marshaller & rnaml::Marshaller::operator= const Marshaller &    right
 

Assigns the object with the right's content.

Parameters:
right  the object to copy.
Returns:
itself.

bool rnaml::Marshaller::operator== const Marshaller &    right const
 

Compares the specified object with this collection for equality.

Parameters:
right  the Object to be compared for equality with this object.
Returns:
true if the specified object is equal to this.

void rnaml::Marshaller::setFormatted bool    formatted
 

Set the formatting flag.

Parameters:
formatted  the formatting flag.

void rnaml::Marshaller::setValidating bool    validating
 

Set the validation flag.

Parameters:
validating  the validation flag.


Member Data Documentation

rnamlMarshaller* rnaml::Marshaller::marshaller [private]
 

The marshaller C structure.


The documentation for this class was generated from the following files:
Generated on Tue Nov 11 14:59:56 2003 for xmlcpg by doxygen1.2.18