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

rnaml::Rnaml Class Reference

#include <Rnaml.h>

Inheritance diagram for rnaml::Rnaml:

rnaml::Object List of all members.

Public Methods

 Rnaml (const char *v=0)
 Constructor of the object Rnaml.

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

Rnaml * clone () const
 Clones the object.

virtual ~Rnaml ()
 Destructor of the object.

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

const char * getVersion () const
 Gets the rnaml version string.

void setVersion (const char *version)
 Sets the rnaml version string.

std::vector< Object * > & getChildren ()
 Gets the rnaml children collection.

void addChild (Object *obj)
 Adds a new child.

virtual void setCStructure (rnamlObject *obj)
 Sets the C rnamlRnaml substructure.

xmlcpgDocumenttoXMLDocument () const
 Generates a new rnaml document (xmlcpgObject*).


Private Attributes

std::vector< Object * > children
 The rnaml children collection.


Constructor & Destructor Documentation

rnaml::Rnaml::Rnaml const char *    v = 0
 

Constructor of the object Rnaml.

Parameters:
v  the version of the DTD that will be used to xmlcpgvalidate the element rnaml.

rnaml::Rnaml::Rnaml const Rnaml &    right
 

Constructor by copy of the object Rnaml.

Parameters:
right  the Rnaml to be copied

rnaml::Rnaml::~Rnaml   [virtual]
 

Destructor of the object.


Member Function Documentation

void rnaml::Rnaml::addChild Object   obj
 

Adds a new child.

Parameters:
obj  the child to add.

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

Clones the object.

Returns:
a copy of the object.

std::vector< Object* >& rnaml::Rnaml::getChildren   [inline]
 

Gets the rnaml children collection.

Returns:
the rnaml children collection vector.

const char* rnaml::Rnaml::getVersion   const [inline]
 

Gets the rnaml version string.

Returns:
the rnaml version string.

Rnaml & rnaml::Rnaml::operator= const Rnaml &    right
 

Assigns the object with the right's content.

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

void rnaml::Rnaml::setCStructure rnamlObject   obj [virtual]
 

Sets the C rnamlRnaml substructure.

Parameters:
obj  the C rnamlRnaml substructure.

Reimplemented from rnaml::Object.

void rnaml::Rnaml::setVersion const char *    version [inline]
 

Sets the rnaml version string.

Parameters:
version  the new rnaml version string.

xmlcpgDocument* rnaml::Rnaml::toXMLDocument   const [inline]
 

Generates a new rnaml document (xmlcpgObject*).

Returns:
the xmlcpg document.


Member Data Documentation

std::vector< Object* > rnaml::Rnaml::children [private]
 

The rnaml children collection.


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