Changeset 1989 for code/branches/objecthierarchy/src/core/BaseObject.h
- Timestamp:
- Oct 21, 2008, 4:56:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/core/BaseObject.h
r1950 r1989 87 87 const std::string& getLevelfile() const; 88 88 89 void addTemplate(const std::string& name); 90 void addTemplate(Template* temp); 91 /** @brief Returns the set of all aplied templates. */ 92 inline const std::set<Template*>& getTemplates() const 93 { return this->templates_; } 94 89 95 virtual inline void setNamespace(Namespace* ns) { this->namespace_ = ns; } 90 96 inline Namespace* getNamespace() const { return this->namespace_; } … … 102 108 103 109 private: 110 Template* getTemplate(unsigned int index) const; 111 104 112 bool bInitialized_; //!< True if the object was initialized (passed the object registration) 105 113 const Level* level_; //!< The level that loaded this object 106 114 std::string loaderIndentation_; //!< Indentation of the debug output in the Loader 107 115 Namespace* namespace_; 116 std::set<Template*> templates_; 108 117 }; 109 118
Note: See TracChangeset
for help on using the changeset viewer.