comparison engine/core/model/model.i @ 35:bf7f838e6684

Added methods for removing Objects from the Model.
author jwt@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 12 Jul 2008 02:50:09 +0000
parents 112fc4af772d
children 90005975cdbb
comparison
equal deleted inserted replaced
34:d66538926e78 35:bf7f838e6684
31 Map* getMap(const std::string& id) const; 31 Map* getMap(const std::string& id) const;
32 32
33 std::list<std::string> getNamespaces() const; 33 std::list<std::string> getNamespaces() const;
34 34
35 Object* createObject(const std::string& identifier, const std::string& name_space, Object* parent=0); 35 Object* createObject(const std::string& identifier, const std::string& name_space, Object* parent=0);
36 bool deleteObject(Object*);
37 bool deleteObjects();
36 Object* getObject(const std::string& id, const std::string& name_space); 38 Object* getObject(const std::string& id, const std::string& name_space);
37 const std::list<Object*>& getObjects(const std::string& name_space) const; 39 const std::list<Object*>& getObjects(const std::string& name_space) const;
38 40
39 size_t getNumMaps() const; 41 size_t getNumMaps() const;
40 void deleteMaps(); 42 void deleteMaps();