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

rnaml::Molecule Class Reference

#include <Molecule.h>

Inheritance diagram for rnaml::Molecule:

rnaml::Object List of all members.

Public Methods

 Molecule ()
 Initializes the object.

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

Molecule * clone () const
 Clones the object.

virtual ~Molecule ()
 Destroys the object.

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

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

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

const char * getType () const
 Gets the molecule type.

void setType (const char *type)
 Sets the molecule type.

IdentitygetIdentity () const
 Gets the molecule identity.

void setIdentity (Identity *identity)
 Sets the molecule identity.

std::vector< Sequence * > & getSequences ()
 Gets the molecule sequence collection.

void addSequence (Sequence *sequence)
 Adds a new sequence.

StructuregetStructure () const
 Gets the molecule structure.

void setStructure (Structure *structure)
 Sets the molecule structure.

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


Private Attributes

std::vector< Sequence * > sequences
 The sequence collection.


Constructor & Destructor Documentation

rnaml::Molecule::Molecule   [inline]
 

Initializes the object.

rnaml::Molecule::Molecule const Molecule &    right
 

Initializes the object with the right's content.

Parameters:
right  the object to copy.

rnaml::Molecule::~Molecule   [virtual]
 

Destroys the object.


Member Function Documentation

void rnaml::Molecule::addSequence Sequence   sequence
 

Adds a new sequence.

Parameters:
sequence  the object sequence to add.

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

Clones the object.

Returns:
a copy of the object.

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

Gets the molecule id.

Returns:
the molecule id.

Identity * rnaml::Molecule::getIdentity  
 

Gets the molecule identity.

Returns:
the molecule identity.

std::vector< Sequence* >& rnaml::Molecule::getSequences   [inline]
 

Gets the molecule sequence collection.

Returns:
the molecule sequence collection vector.

Structure * rnaml::Molecule::getStructure  
 

Gets the molecule structure.

Returns:
the molecule structure.

const char* rnaml::Molecule::getType   const [inline]
 

Gets the molecule type.

Returns:
the molecule type.

Molecule & rnaml::Molecule::operator= const Molecule &    right
 

Assigns the object with the right's content.

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

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

Sets the molecule C substructure.

Parameters:
obj  the molecule C substructure.

Reimplemented from rnaml::Object.

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

Sets the molecule id.

Parameters:
id  the molecule id.

void rnaml::Molecule::setIdentity Identity   identity
 

Sets the molecule identity.

Parameters:
identity  the molecule identity.

void rnaml::Molecule::setStructure Structure   structure
 

Sets the molecule structure.

Parameters:
structure  the molecule structure.

void rnaml::Molecule::setType const char *    type [inline]
 

Sets the molecule type.

Parameters:
type  the molecule type.


Member Data Documentation

std::vector< Sequence* > rnaml::Molecule::sequences [private]
 

The sequence 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