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

rnaml::Base Class Reference

#include <Base.h>

Inheritance diagram for rnaml::Base:

rnaml::Object List of all members.

Public Methods

 Base ()
 Initializes the object.

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

Base * clone () const
 Clones the object.

virtual ~Base ()
 Destroys the object.

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

const char * getStrand () const
 Gets the base strand.

void setStrand (const char *strand)
 Sets the base strand.

int getPosition () const
 Gets the base position.

void setPosition (int position)
 Sets the base position.

const char * getBaseType () const
 Gets the base baseType.

void setBaseType (const char *baseType)
 Sets the base baseType.

char getAltLoc () const
 Gets the base altLoc.

void setAltLoc (char altLoc)
 Sets the base altLoc.

char getInsertion () const
 Gets the base insertion.

void setInsertion (char insertion)
 Sets the base insertion.

std::vector< Atom * > & getAtoms ()
 Gets the base atom collection.

void addAtom (Atom *atom)
 Adds a new atom.

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


Private Attributes

std::vector< Atom * > atoms
 The atom collection.


Constructor & Destructor Documentation

rnaml::Base::Base   [inline]
 

Initializes the object.

rnaml::Base::Base const Base &    right
 

Initializes the object with the right's content.

Parameters:
right  the object to copy.

rnaml::Base::~Base   [virtual]
 

Destroys the object.


Member Function Documentation

void rnaml::Base::addAtom Atom   atom
 

Adds a new atom.

Parameters:
atom  the object atom to add.*

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

Clones the object.

Returns:
a copy of the object.

char rnaml::Base::getAltLoc   const [inline]
 

Gets the base altLoc.

Returns:
the base altLoc.

std::vector< Atom* >& rnaml::Base::getAtoms   [inline]
 

Gets the base atom collection.

Returns:
the base atom collection vector.

const char* rnaml::Base::getBaseType   const [inline]
 

Gets the base baseType.

Returns:
the base baseType string.

char rnaml::Base::getInsertion   const [inline]
 

Gets the base insertion.

Returns:
the base insertion.

int rnaml::Base::getPosition   const [inline]
 

Gets the base position.

Returns:
the base position.

const char* rnaml::Base::getStrand   const [inline]
 

Gets the base strand.

Returns:
the base strand string.

Base & rnaml::Base::operator= const Base &    right
 

Assigns the object with the right's content.

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

void rnaml::Base::setAltLoc char    altLoc [inline]
 

Sets the base altLoc.

Parameters:
altLoc  the base altLoc.

void rnaml::Base::setBaseType const char *    baseType [inline]
 

Sets the base baseType.

Parameters:
baseType  the base baseType string.

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

Sets the base C substructure.

Parameters:
obj  the base C substructure.

Reimplemented from rnaml::Object.

void rnaml::Base::setInsertion char    insertion [inline]
 

Sets the base insertion.

Parameters:
insertion  the base insertion.

void rnaml::Base::setPosition int    position [inline]
 

Sets the base position.

Parameters:
position  the base position.

void rnaml::Base::setStrand const char *    strand [inline]
 

Sets the base strand.

Parameters:
strand  the base strand string.


Member Data Documentation

std::vector< Atom* > rnaml::Base::atoms [private]
 

The atom collection.


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