Changeset 5779 for code/branches/core5/src/libraries/core/Identifier.h
- Timestamp:
- Sep 24, 2009, 2:55:34 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/Identifier.h
r5778 r5779 103 103 104 104 /** @brief Sets the Factory. @param factory The factory to assign */ 105 inline void addFactory( BaseFactory* factory) { this->factory_ = factory; }105 inline void addFactory(Factory* factory) { this->factory_ = factory; } 106 106 /** @brief Returns true if the Identifier has a Factory. */ 107 107 inline bool hasFactory() const { return (this->factory_ != 0); } … … 165 165 166 166 static Identifier* getIdentifierByString(const std::string& name); 167 static Identifier* getIdentifierByLowercaseString(const std::string& name); 167 168 static Identifier* getIdentifierByID(uint32_t id); 168 169 … … 334 335 bool bLoadable_; //!< False = it's not permitted to load the object through XML 335 336 std::string name_; //!< The name of the class the Identifier belongs to 336 BaseFactory* factory_;//!< The Factory, able to create new objects of the given class (if available)337 Factory* factory_; //!< The Factory, able to create new objects of the given class (if available) 337 338 static int hierarchyCreatingCounter_s; //!< Bigger than zero if at least one Identifier stores its parents (its an int instead of a bool to avoid conflicts with multithreading) 338 339 uint32_t networkID_; //!< The network ID to identify a class through the network
Note: See TracChangeset
for help on using the changeset viewer.