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

rnaml::Model Class Reference

#include <Model.h>

Inheritance diagram for rnaml::Model:

rnaml::Object List of all members.

Public Methods

 Model ()
 Initializes the object.

 Model (const Model &right)
 Initializes the object with the right's content.

Model * clone () const
 Clones the object.

virtual ~Model ()
 Destroys the object.

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

const char * getId () const
 Gets the model id.

void setId (const char *id)
 Sets the model id.

ModelInfogetModelInfo () const
 Gets the model modelInfo.

void setModelInfo (ModelInfo *modelInfo)
 Sets the model modelInfo.

std::vector< Base * > & getBases ()
 Gets the model base collection.

void addBase (Base *base)
 Adds a new base.

StrAnnotationgetStrAnnotation () const
 Gets the model strAnnotation.

void setStrAnnotation (StrAnnotation *strAnnotation)
 Sets the model strAnnotation.

SecondaryStructureDisplaygetSecondaryStructureDisplay () const
 Gets the model secondaryStructureDisplay.

void setSecondaryStructureDisplay (SecondaryStructureDisplay *secondaryStructureDisplay)
 Sets the model secondaryStructureDisplay.

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


Private Attributes

std::vector< Base * > bases
 The base collection.


Constructor & Destructor Documentation

rnaml::Model::Model   [inline]
 

Initializes the object.

rnaml::Model::Model const Model &    right
 

Initializes the object with the right's content.

Parameters:
right  the object to copy.

rnaml::Model::~Model   [virtual]
 

Destroys the object.


Member Function Documentation

void rnaml::Model::addBase Base   base
 

Adds a new base.

Parameters:
base  the object base to add.

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

Clones the object.

Returns:
a copy of the object.

std::vector< Base* >& rnaml::Model::getBases   [inline]
 

Gets the model base collection.

Returns:
the model base collection vector.

const char* rnaml::Model::getId   const [inline]
 

Gets the model id.

Returns:
the model id.

ModelInfo * rnaml::Model::getModelInfo  
 

Gets the model modelInfo.

Returns:
the model modelInfo.

SecondaryStructureDisplay * rnaml::Model::getSecondaryStructureDisplay  
 

Gets the model secondaryStructureDisplay.

Returns:
the model secondaryStructureDisplay.

StrAnnotation * rnaml::Model::getStrAnnotation  
 

Gets the model strAnnotation.

Returns:
the model strAnnotation.

Model & rnaml::Model::operator= const Model &    right
 

Assigns the object with the right's content.

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

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

Sets the model C substructure.

Parameters:
obj  the model C substructure.

Reimplemented from rnaml::Object.

void rnaml::Model::setId const char *    id [inline]
 

Sets the model id.

Parameters:
id  the model id.

void rnaml::Model::setModelInfo ModelInfo   modelInfo
 

Sets the model modelInfo.

Parameters:
modelInfo  the model modelInfo.

void rnaml::Model::setSecondaryStructureDisplay SecondaryStructureDisplay   secondaryStructureDisplay
 

Sets the model secondaryStructureDisplay.

Parameters:
secondaryStructureDisplay  the model secondaryStructureDisplay.

void rnaml::Model::setStrAnnotation StrAnnotation   strAnnotation
 

Sets the model strAnnotation.

Parameters:
strAnnotation  the model strAnnotation.


Member Data Documentation

std::vector< Base* > rnaml::Model::bases [private]
 

The base collection.


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