TdkObject Class Reference
[The Core Module]

Defines the class TdkObject. More...

#include <TdkObject.h>

Inheritance diagram for TdkObject:

TdkEventHandler TdkPersistenceObject TdkGeographicObject TdkObjectCollection TdkLayer TdkProject TdkTheme TdkView List of all members.

Public Member Functions

virtual ~TdkObject ()
 Creates a copy of the object.
virtual TdkObjectcopy ()=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 TdkObjectGIDgetGID ()=0
virtual TdkObjectTypeDefgetType ()=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

Detailed Description

Defines the class TdkObject.


Constructor & Destructor Documentation

virtual TdkObject::~TdkObject (  )  [inline, virtual]

Creates a copy of the object.


Member Function Documentation

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]

Returns the object type.

Implemented in TdkGeographicObject, and TdkObjectCollection.

virtual std::string TdkObject::getAttributeValue ( std::string  attr_name  )  [pure virtual]

Returns the attribute value as string.

Implemented in TdkGeographicObject, and TdkObjectCollection.

virtual void TdkObject::setAttributeValue ( std::string  attr_name,
std::string  value 
) [pure virtual]

Set the attribute value from a string.

Implemented in TdkGeographicObject, and TdkObjectCollection.

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.


Friends And Related Function Documentation

friend class TdkPersistenceService [friend]

Reimplemented in TdkObjectCollection, and TdkTheme.


The documentation for this class was generated from the following file:
Generated on Fri Jun 15 16:54:47 2007 for TDK by  doxygen 1.5.2