Changeset 1940 for code/branches/objecthierarchy/src/core/Identifier.h
- Timestamp:
- Oct 18, 2008, 10:58:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/core/Identifier.h
r1856 r1940 107 107 bool isDirectParentOf(const Identifier* identifier) const; 108 108 109 /** @brief Returns true if the class can be loaded through XML. */ 110 inline bool isLoadable() const { return this->bLoadable_; } 111 /** @brief Set the class to be loadable through XML or not. */ 112 inline void setLoadable(bool bLoadable) { this->bLoadable_ = bLoadable; } 113 109 114 /** @brief Returns the list of all existing objects of this class. @return The list */ 110 115 inline ObjectListBase* getObjects() const … … 285 290 bool bCreatedOneObject_; //!< True if at least one object of the given type was created (used to determine the need of storing the parents) 286 291 bool bSetName_; //!< True if the name is set 292 bool bLoadable_; //!< False = it's not permitted to load the object through XML 287 293 std::string name_; //!< The name of the class the Identifier belongs to 288 294 BaseFactory* factory_; //!< The Factory, able to create new objects of the given class (if available)
Note: See TracChangeset
for help on using the changeset viewer.