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

rnaml::Reference Class Reference

#include <Reference.h>

Inheritance diagram for rnaml::Reference:

rnaml::Object List of all members.

Public Methods

 Reference ()
 Initializes the object.

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

Reference * clone () const
 Clones the object.

virtual ~Reference ()
 Destroys the object.

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

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

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

std::vector< Object * > & getChildren ()
 Gets the reference child collection.

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

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


Private Attributes

std::vector< Object * > children
 The reference child collection.


Constructor & Destructor Documentation

rnaml::Reference::Reference   [inline]
 

Initializes the object.

rnaml::Reference::Reference const Reference &    right
 

Initializes the object with the right's content.

Parameters:
right  the object to copy.

rnaml::Reference::~Reference   [virtual]
 

Destroys the object.


Member Function Documentation

void rnaml::Reference::addChild Object   obj
 

Adds a new child.

Parameters:
obj  the child to add.

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

Clones the object.

Returns:
a copy of the object.

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

Gets the reference child collection.

Returns:
the reference child collection vector.

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

Gets the reference id.

Returns:
the reference id.

Reference & rnaml::Reference::operator= const Reference &    right
 

Assigns the object with the right's content.

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

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

Sets the reference C substructure.

Parameters:
obj  the reference C substructure.

Reimplemented from rnaml::Object.

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

Sets the reference id.

Parameters:
id  the reference id.


Member Data Documentation

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

The reference child 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