#include <OCDM.h>
Inheritance diagram for OCDM_Attribute:
Public Member Functions | |
OCDM_Attribute () | |
OCDM_Attribute (const CDM_Object obj) | |
OCDM_Attribute (const class OCDM_Attribute &obj) | |
OCDM_Attribute (const char *name, const OCDM_AttributeValue &AttrVal) | |
OCDM_Attribute (const char *name, const int Type, const char *Value) | |
OCDM_Attribute & | operator= (const class OCDM_Object &obj) |
This is the default assignment operator. | |
const char * | GetName (void) const |
Returns Attribute's name. | |
const char * | GetValueString (void) const |
Returns Attribute's Value String. | |
OCDM_REF (OCDM_AttributeValue) GetValue(void) const | |
int | GetValueType (void) const |
Returns Attribute's Type. | |
const char * | GetValueValue (void) const |
This function will return the value of the Attribute value of the Attribute object in use. | |
void | ReconstructAttribute (void) const |
This function will construct and return a new Attribute object that will be an exact copy of the provided one. | |
void | ReconstructAttribute (int *type) const |
This function will construct and return a new Attribute object that will be an exact copy of the provided one. | |
const char * | objectType (void) const |
|
|
|
|
|
|
|
Special attention should be given to the Attribute value object (specified by the "Value" parameter) so as not to leak memory. This function internally will always increase the reference count. The value of the "Name" parameter will not be modified or referenced in any way, as CDM will create and manipulate a local copy of this value.
|
|
|
|
|
|
|
|
|
|
|
|
This method returns the type of the object as a string. Reimplemented from OCDM_Object. |
|
|
|
Reimplemented from OCDM_Object. |
|
|
|
|