#include <TdkObject.h>
Inheritance diagram for TdkObject:

Public Member Functions | |
| virtual | ~TdkObject () |
| Creates a copy of the object. | |
| virtual TdkObject * | copy ()=0 |
| Creates a copy of the object. | |
| virtual void | operator= (TdkObject &object) |
| virtual bool | operator== (TdkObject &object)=0 |
| Returns true if the given object is equal to the object. | |
| virtual void | import (TdkObject &object)=0 |
| virtual void | setGID (const TdkObjectGID &objectGID)=0 |
| virtual TdkObjectGID & | getGID ()=0 |
| virtual TdkObjectTypeDef & | getType ()=0 |
| Returns the object type. | |
| virtual std::string | getAttributeValue (std::string attr_name)=0 |
| Returns the attribute value as string. | |
| virtual void | setAttributeValue (std::string attr_name, std::string value)=0 |
| Set the attribute value from a string. | |
| virtual std::string | getStringAttr (std::string attr_name)=0 |
| Returns the value for the given attribute. The attribute type must be string. | |
| virtual void | setStringAttr (std::string attr_name, std::string value)=0 |
| Sets the value for the given attribute. The attribute type must be string. | |
| virtual int | getIntegerAttr (std::string attr_name)=0 |
| Returns the value for the given attribute. The attribute type must be integer. | |
| virtual void | setIntegerAttr (std::string attr_name, int value)=0 |
| Gets the value for the given attribute. The attribute type must be integer. | |
| virtual double | getRealAttr (std::string attr_name)=0 |
| Returns the value for the given attribute. The attribute type must be real. | |
| virtual void | setRealAttr (std::string attr_name, double value)=0 |
| Gets the value for the given attribute. The attribute type must be real. | |
| virtual bool | hasValueInCache (std::string attr_name)=0 |
| virtual bool | hasStringValue (std::string attr_name)=0 |
| Returns true if there are a value (string) for the given attribute. | |
| virtual bool | hasIntegerValue (std::string attr_name)=0 |
| Returns true if there are a value (integer) for the given attribute. | |
| virtual bool | hasRealValue (std::string attr_name)=0 |
| Returns true if there are a value (real) for the given attribute. | |
Friends | |
| class | TdkPersistenceService |
| virtual TdkObject::~TdkObject | ( | ) | [inline, virtual] |
Creates a copy of the object.
| virtual TdkObject* TdkObject::copy | ( | ) | [pure virtual] |
Creates a copy of the object.
Implemented in TdkGeographicObject, TdkLayer, TdkObjectCollection, TdkProject, TdkTheme, and TdkView.
| virtual void TdkObject::operator= | ( | TdkObject & | object | ) | [inline, virtual] |
Reimplemented in TdkGeographicObject, TdkLayer, TdkObjectCollection, TdkProject, TdkTheme, and TdkView.
| virtual bool TdkObject::operator== | ( | TdkObject & | object | ) | [pure virtual] |
Returns true if the given object is equal to the object.
Implemented in TdkGeographicObject, and TdkObjectCollection.
| virtual void TdkObject::import | ( | TdkObject & | object | ) | [pure virtual] |
Implemented in TdkGeographicObject, TdkLayer, TdkObjectCollection, TdkProject, TdkTheme, and TdkView.
| virtual void TdkObject::setGID | ( | const TdkObjectGID & | objectGID | ) | [pure virtual] |
Implemented in TdkGeographicObject, TdkLayer, TdkObjectCollection, TdkTheme, and TdkView.
| virtual TdkObjectGID& TdkObject::getGID | ( | ) | [pure virtual] |
Implemented in TdkGeographicObject, and TdkObjectCollection.
| virtual TdkObjectTypeDef& TdkObject::getType | ( | ) | [pure virtual] |
| virtual std::string TdkObject::getAttributeValue | ( | std::string | attr_name | ) | [pure virtual] |
| virtual void TdkObject::setAttributeValue | ( | std::string | attr_name, | |
| std::string | value | |||
| ) | [pure virtual] |
| virtual std::string TdkObject::getStringAttr | ( | std::string | attr_name | ) | [pure virtual] |
Returns the value for the given attribute. The attribute type must be string.
Implemented in TdkGeographicObject, TdkLayer, TdkObjectCollection, TdkProject, TdkTheme, and TdkView.
| virtual void TdkObject::setStringAttr | ( | std::string | attr_name, | |
| std::string | value | |||
| ) | [pure virtual] |
Sets the value for the given attribute. The attribute type must be string.
Implemented in TdkGeographicObject, TdkLayer, TdkObjectCollection, TdkProject, TdkTheme, and TdkView.
| virtual int TdkObject::getIntegerAttr | ( | std::string | attr_name | ) | [pure virtual] |
Returns the value for the given attribute. The attribute type must be integer.
Implemented in TdkGeographicObject, TdkLayer, TdkObjectCollection, TdkTheme, and TdkView.
| virtual void TdkObject::setIntegerAttr | ( | std::string | attr_name, | |
| int | value | |||
| ) | [pure virtual] |
Gets the value for the given attribute. The attribute type must be integer.
Implemented in TdkGeographicObject, TdkLayer, TdkObjectCollection, TdkTheme, and TdkView.
| virtual double TdkObject::getRealAttr | ( | std::string | attr_name | ) | [pure virtual] |
Returns the value for the given attribute. The attribute type must be real.
Implemented in TdkGeographicObject, TdkLayer, TdkObjectCollection, and TdkTheme.
| virtual void TdkObject::setRealAttr | ( | std::string | attr_name, | |
| double | value | |||
| ) | [pure virtual] |
Gets the value for the given attribute. The attribute type must be real.
Implemented in TdkGeographicObject, TdkLayer, TdkObjectCollection, and TdkTheme.
| virtual bool TdkObject::hasValueInCache | ( | std::string | attr_name | ) | [pure virtual] |
Implemented in TdkGeographicObject, and TdkObjectCollection.
| virtual bool TdkObject::hasStringValue | ( | std::string | attr_name | ) | [pure virtual] |
Returns true if there are a value (string) for the given attribute.
Implemented in TdkGeographicObject, and TdkObjectCollection.
| virtual bool TdkObject::hasIntegerValue | ( | std::string | attr_name | ) | [pure virtual] |
Returns true if there are a value (integer) for the given attribute.
Implemented in TdkGeographicObject, and TdkObjectCollection.
| virtual bool TdkObject::hasRealValue | ( | std::string | attr_name | ) | [pure virtual] |
Returns true if there are a value (real) for the given attribute.
Implemented in TdkGeographicObject, and TdkObjectCollection.
friend class TdkPersistenceService [friend] |
Reimplemented in TdkObjectCollection, and TdkTheme.
1.5.2