Changeset 1676 for code/branches/core3/src/core/Identifier.h
- Timestamp:
- Aug 28, 2008, 11:50:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/core/Identifier.h
r1610 r1676 62 62 #include "MetaObjectList.h" 63 63 #include "Iterator.h" 64 #undef SUPER_INTRUSIVE 65 #include "Super.h" 64 66 #include "util/Debug.h" 65 67 #include "util/String.h" … … 224 226 static Identifier* getIdentifierSingleton(const std::string& name, Identifier* proposal); 225 227 228 virtual void createSuperFunctionCaller() const = 0; 229 226 230 /** @brief Returns the map that stores all Identifiers. @return The map */ 227 231 static std::map<std::string, Identifier*>& getIdentifierMapIntern(); … … 229 233 static std::map<std::string, Identifier*>& getLowercaseIdentifierMapIntern(); 230 234 231 bool bCreatedOneObject_; //!< True if at least one object of the given type was created (used to determine the need of storing the parents)232 ObjectListBase* objects_; //!< The list of all objects of this class233 234 private:235 235 /** @brief Returns the children of the class the Identifier belongs to. @return The list of all children */ 236 236 inline std::set<const Identifier*>& getChildrenIntern() const { return (*this->children_); } … … 238 238 inline std::set<const Identifier*>& getDirectChildrenIntern() const { return (*this->directChildren_); } 239 239 240 bool bCreatedOneObject_; //!< True if at least one object of the given type was created (used to determine the need of storing the parents) 241 ObjectListBase* objects_; //!< The list of all objects of this class 242 243 private: 240 244 /** 241 245 @brief Increases the hierarchyCreatingCounter_s variable, causing all new objects to store their parents. … … 295 299 class ClassIdentifier : public Identifier 296 300 { 301 #define SUPER_INTRUSIVE_DECLARATION 302 #include "Super.h" 303 297 304 public: 298 305 static ClassIdentifier<T> *getIdentifier(); … … 311 318 312 319 private: 313 ClassIdentifier() {} 320 ClassIdentifier() 321 { 322 #define SUPER_INTRUSIVE_CONSTRUCTOR 323 #include "Super.h" 324 } 314 325 ClassIdentifier(const ClassIdentifier<T>& identifier) {} // don't copy 315 326 ~ClassIdentifier() {} // don't delete
Note: See TracChangeset
for help on using the changeset viewer.