- STRING_CONSTANT(Name, "Entity");
-
- class Observer
- {
- public:
- virtual void insert(const char* key, EntityKeyValue& value) = 0;
- virtual void erase(const char* key, EntityKeyValue& value) = 0;
- virtual void clear() { };
- };
-
- class Visitor
- {
- public:
- virtual void visit(const char* key, const char* value) = 0;
- };
-
- virtual const EntityClass& getEntityClass() const = 0;
- virtual void forEachKeyValue(Visitor& visitor) const = 0;
- virtual void setKeyValue(const char* key, const char* value) = 0;
- virtual const char* getKeyValue(const char* key) const = 0;
- virtual bool isContainer() const = 0;
- virtual void attach(Observer& observer) = 0;
- virtual void detach(Observer& observer) = 0;
+STRING_CONSTANT( Name, "Entity" );
+
+class Observer
+{
+public:
+virtual void insert( const char* key, EntityKeyValue& value ) = 0;
+virtual void erase( const char* key, EntityKeyValue& value ) = 0;
+virtual void clear() { };