Changeset 3145 for code/branches/pch/src/core
- Timestamp:
- Jun 11, 2009, 6:22:15 PM (16 years ago)
- Location:
- code/branches/pch/src/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/core/ClassFactory.h
r2171 r3145 88 88 */ 89 89 template <class T> 90 BaseObject* ClassFactory<T>::fabricate(BaseObject* creator)90 inline BaseObject* ClassFactory<T>::fabricate(BaseObject* creator) 91 91 { 92 92 return ClassFactory<T>::createNewObject(creator); … … 98 98 */ 99 99 template <class T> 100 T* ClassFactory<T>::createNewObject(BaseObject* creator)100 inline T* ClassFactory<T>::createNewObject(BaseObject* creator) 101 101 { 102 102 return new T(creator); -
code/branches/pch/src/core/Identifier.h
r2784 r3145 383 383 */ 384 384 template <class T> 385 ClassIdentifier<T>* ClassIdentifier<T>::getIdentifier()385 inline ClassIdentifier<T>* ClassIdentifier<T>::getIdentifier() 386 386 { 387 387 // check if the static field has already been filled … … 398 398 */ 399 399 template <class T> 400 ClassIdentifier<T>* ClassIdentifier<T>::getIdentifier(const std::string& name)400 inline ClassIdentifier<T>* ClassIdentifier<T>::getIdentifier(const std::string& name) 401 401 { 402 402 ClassIdentifier<T>* identifier = ClassIdentifier<T>::getIdentifier(); … … 435 435 */ 436 436 template <class T> 437 void ClassIdentifier<T>::addObject(T* object)437 inline void ClassIdentifier<T>::addObject(T* object) 438 438 { 439 439 COUT(5) << "*** ClassIdentifier: Added object to " << this->getName() << "-list." << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.