Changeset 246 for code/branches/objecthierarchie/src/ObjectList.h
- Timestamp:
- Nov 25, 2007, 7:19:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchie/src/ObjectList.h
r224 r246 44 44 ObjectList(); 45 45 ~ObjectList(); 46 voidadd(T* object);46 ObjectListElement<T>* add(T* object); 47 47 void remove(OrxonoxClass* object, bool bIterateForwards = true); 48 48 … … 71 71 72 72 template <class T> 73 voidObjectList<T>::add(T* object)73 ObjectListElement<T>* ObjectList<T>::add(T* object) 74 74 { 75 75 if (!this->last_) … … 85 85 temp->next_ = this->last_; 86 86 } 87 88 return this->last_; 87 89 } 88 90
Note: See TracChangeset
for help on using the changeset viewer.