Entity Class Reference

#include <ientity.h>

Inheritance diagram for Entity:
Inheritance graph
[legend]

Data Structures

class  Observer
class  Visitor

Public Member Functions

 STRING_CONSTANT (Name,"Entity")
virtual ~Entity ()
virtual const EntityClassgetEntityClass () const =0
virtual void forEachKeyValue (Visitor &visitor) const =0
virtual void setKeyValue (const std::string &key, const std::string &value)=0
virtual const char * getKeyValue (const std::string &key) const =0
virtual void addMandatoryKeyValues ()=0
virtual bool isContainer () const =0
virtual void attach (Observer &observer)=0
virtual void detach (Observer &observer)=0

Detailed Description

Definition at line 47 of file ientity.h.


Constructor & Destructor Documentation

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

Definition at line 75 of file ientity.h.


Member Function Documentation

virtual void Entity::addMandatoryKeyValues (  )  [pure virtual]

Implemented in EntityKeyValues.

virtual void Entity::attach ( Observer observer  )  [pure virtual]

Implemented in EntityKeyValues.

virtual void Entity::detach ( Observer observer  )  [pure virtual]

Implemented in EntityKeyValues.

virtual void Entity::forEachKeyValue ( Visitor visitor  )  const [pure virtual]

Implemented in EntityKeyValues.

virtual const EntityClass& Entity::getEntityClass (  )  const [pure virtual]

Implemented in EntityKeyValues.

virtual const char* Entity::getKeyValue ( const std::string key  )  const [pure virtual]

Implemented in EntityKeyValues.

virtual bool Entity::isContainer (  )  const [pure virtual]

Implemented in EntityKeyValues.

virtual void Entity::setKeyValue ( const std::string key,
const std::string value 
) [pure virtual]

Set a key value on this entity. Setting the value to "" will remove the key.

Implemented in EntityKeyValues.

Referenced by ControlPoints_write(), write_angle(), write_angles(), write_colour(), write_origin(), and write_scale().

Entity::STRING_CONSTANT ( Name  ,
"Entity"   
)

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2