#include <Object.h>
Inheritance diagram for rnaml::Object:
Public Methods | |
Object (rnamlObject *obj=0) | |
Initializes the object. | |
Object (const Object &right) | |
Initializes the object with the right's content. | |
virtual | ~Object () |
Destroys the object. | |
virtual Object & | operator= (const Object &right) |
Assigns the object with the right's content. | |
virtual bool | operator== (const Object &right) const |
Compares the specified object with this collection for equality. | |
const char * | getComment () const |
Gets the object comment. | |
void | setComment (const char *comment) |
Sets the object comment. | |
void | addReferenceId (const char *referenceId) |
Adds a reference id into the object. | |
std::vector< const char * > & | getReferenceIds () |
Gets the reference ids. | |
char * | getReferenceIdsString () const |
Gets the reference ids string. | |
void | addAnalysisId (const char *analysisId) |
Adds a analysis id into the object. | |
std::vector< const char * > & | getAnalysisIds () |
Gets the analysis ids. | |
char * | getAnalysisIdsString () const |
Gets the analysis ids string. | |
void | addDatabaseId (const char *databaseId) |
Adds a database id into the object. | |
std::vector< const char * > & | getDatabaseIds () |
Gets the database ids. | |
char * | getDatabaseIdsString () const |
Gets the database ids string. | |
virtual const rnamlObject * | getCStructure () const |
Gets the C substructure. | |
virtual void | setCStructure (rnamlObject *obj) |
Sets the C substructure. | |
virtual xmlcpgObject * | toXML () const |
Translates the Object into a xmlcpgElement conforming to the RNAML standard. | |
Static Protected Methods | |
Object * | pack (rnamlObject *obj) |
Packs a rnamlObject into an appropriate object. | |
Private Attributes | |
rnamlObject * | cStruct |
The rnaml C structure. | |
std::vector< const char * > | referenceIds |
The reference ids vector. | |
std::vector< const char * > | analysisIds |
The analysis ids vector. | |
std::vector< const char * > | databaseIds |
The database ids vector. |
|
Initializes the object.
|
|
Initializes the object with the right's content.
|
|
Destroys the object.
|
|
Adds a analysis id into the object.
|
|
Adds a database id into the object.
|
|
Adds a reference id into the object.
|
|
Gets the analysis ids.
|
|
Gets the analysis ids string. An empty string is returned if no analysis ids are present in the object.
|
|
Gets the object comment.
|
|
Gets the C substructure.
|
|
Gets the database ids.
|
|
Gets the database ids string. An empty string is returned if no database ids are present in the object.
|
|
Gets the reference ids.
|
|
Gets the reference ids string. An empty string is returned if no reference ids are present in the object.
|
|
Assigns the object with the right's content.
|
|
Compares the specified object with this collection for equality.
|
|
Packs a rnamlObject into an appropriate object.
|
|
Sets the object comment.
|
|
Sets the C substructure.
Reimplemented in rnaml::Alignment, rnaml::Analysis, rnaml::Base, rnaml::Interactions, rnaml::Model, rnaml::ModelInfo, rnaml::Molecule, rnaml::MoleculeClass, rnaml::NumberingSystem, rnaml::NumberingTable, rnaml::Person, rnaml::Program, rnaml::Reference, rnaml::Revision, rnaml::Rnaml, rnaml::SecondaryStructureDisplay, rnaml::SeqAnnotation, rnaml::Sequence, rnaml::StrAnnotation, and rnaml::Structure. |
|
Translates the Object into a xmlcpgElement conforming to the RNAML standard.
|
|
The analysis ids vector.
|
|
The rnaml C structure.
|
|
The database ids vector.
|
|
The reference ids vector.
|