Changeset 10537
- Timestamp:
- Jun 7, 2015, 10:56:59 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/class/Identifier.h
r10512 r10537 289 289 bool initializeObject(T* object); 290 290 291 virtual void updateConfigValues(bool updateChildren = true) const; 292 293 virtual const std::type_info& getTypeInfo() 294 { return typeid(T); } 295 296 virtual bool canDynamicCastObjectToIdentifierClass(Identifiable* object) const 297 { return dynamic_cast<T*>(object) != 0; } 298 299 static ClassIdentifier<T>* getIdentifier(); 300 301 private: 302 ClassIdentifier(const ClassIdentifier<T>& identifier) {} // don't copy 303 291 304 void setConfigValues(T* object, Configurable*) const; 292 305 void setConfigValues(T* object, Identifiable*) const; … … 294 307 void addObjectToList(T* object, Listable*); 295 308 void addObjectToList(T* object, Identifiable*); 296 297 virtual void updateConfigValues(bool updateChildren = true) const;298 299 virtual const std::type_info& getTypeInfo()300 { return typeid(T); }301 302 virtual bool canDynamicCastObjectToIdentifierClass(Identifiable* object) const303 { return dynamic_cast<T*>(object) != 0; }304 305 static ClassIdentifier<T>* getIdentifier();306 307 private:308 ClassIdentifier(const ClassIdentifier<T>& identifier) {} // don't copy309 309 310 310 void updateConfigValues(bool updateChildren, Listable*) const;
Note: See TracChangeset
for help on using the changeset viewer.