Changeset 2010 for code/branches/objecthierarchy/src/core/BaseObject.h
- Timestamp:
- Oct 25, 2008, 5:13:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/core/BaseObject.h
r1989 r2010 81 81 virtual void changedVisibility() {} 82 82 83 /** @brief Sets a pointer to the level that loaded this object. @param level The pointer to the level*/84 inline void set Level(const Level* level) { this->level_ = level; }85 /** @brief Returns a pointer to the level that loaded this object. @return The level*/86 inline const Level* getLevel() const { return this->level_; }87 const std::string& get Levelfile() const;83 /** @brief Sets a pointer to the xml file that loaded this object. @param file The pointer to the XMLFile */ 84 inline void setFile(const XMLFile* file) { this->file_ = file; } 85 /** @brief Returns a pointer to the XMLFile that loaded this object. @return The XMLFile */ 86 inline const XMLFile* getFile() const { return this->file_; } 87 const std::string& getFilename() const; 88 88 89 89 void addTemplate(const std::string& name); … … 111 111 112 112 bool bInitialized_; //!< True if the object was initialized (passed the object registration) 113 const Level* level_; //!< The levelthat loaded this object113 const XMLFile* file_; //!< The XMLFile that loaded this object 114 114 std::string loaderIndentation_; //!< Indentation of the debug output in the Loader 115 115 Namespace* namespace_;
Note: See TracChangeset
for help on using the changeset viewer.