#include <generic.h>
Inheritance diagram for OBPairData:
Public Member Functions | |
OBPairData () | |
void | SetValue (const char *v) |
void | SetValue (const std::string &v) |
std::string & | GetValue () |
void | SetAttribute (const std::string &v) |
virtual const std::string & | GetAttribute () const |
unsigned int | GetDataType () const |
Protected Attributes | |
std::string | _value |
std::string | _attr |
attribute tag (e.g., "UnitCell", "Comment" or "Author") | |
unsigned int | _type |
attribute type -- declared for each subclass |
Ideal for arbitrary text descriptors for molecules, atoms, bonds, residues, e.g. in QSAR.
OBPairData | ( | ) |
void SetValue | ( | const char * | v | ) | [inline] |
void SetValue | ( | const std::string & | v | ) | [inline] |
std::string& GetValue | ( | ) | [inline] |
void SetAttribute | ( | const std::string & | v | ) | [inline, inherited] |
virtual const std::string& GetAttribute | ( | ) | const [inline, virtual, inherited] |
unsigned int GetDataType | ( | ) | const [inline, inherited] |
std::string _value [protected] |
std::string _attr [protected, inherited] |
attribute tag (e.g., "UnitCell", "Comment" or "Author")
unsigned int _type [protected, inherited] |
attribute type -- declared for each subclass