|
Public Member Functions |
| CDMAttribute () |
| CDMAttribute (std::string name, std::string value) |
| create a string attribute
|
| CDMAttribute (std::string name, char value) |
| create a char attribute with a char array of length 1
|
| CDMAttribute (std::string name, int value) |
| create a int attribute with a int array of length 1
|
| CDMAttribute (std::string name, short value) |
| create a short attribute with a short array of length 1
|
| CDMAttribute (std::string name, float value) |
| create a float attribute with a float array of length 1
|
| CDMAttribute (std::string name, double value) |
| create a double attribute with a double array of length 1
|
| CDMAttribute (std::string name, CDMDataType datatype, boost::shared_ptr< Data > data) |
| create a attribute with the low level information
|
| CDMAttribute (const std::string &name, const std::string &datatype, const std::string &value) throw (CDMException) |
| create a attribute from a string representation
|
virtual | ~CDMAttribute () |
const std::string & | getName () const |
| retrieve the name of the attribute
|
const std::string | getStringValue () const |
| retrieve the stringified value of the attribute
|
const boost::shared_ptr< Data > | getData () const |
| retrieve the data-pointer of the attribute
|
void | setData (boost::shared_ptr< Data > data) |
| set the data for this attribute
|
const CDMDataType | getDataType () const |
| retrieve the datatype of the attribute
|
void | toXMLStream (std::ostream &out) const |