Changeset 1543 for code/trunk/src/core/ObjectList.h
- Timestamp:
- Jun 5, 2008, 2:18:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/core/ObjectList.h
r1505 r1543 44 44 45 45 #include "Iterator.h" 46 #include " ClassManager.h"46 #include "Identifier.h" 47 47 48 48 namespace orxonox … … 95 95 /** @brief Returns the first element in the list. @return The first element */ 96 96 inline static Iterator<T> start() 97 { return Iterator<T>(Class Manager<T>::getIdentifier()->getObjects()->first_); }97 { return Iterator<T>(ClassIdentifier<T>::getIdentifier()->getObjects()->first_); } 98 98 99 99 /** @brief Returns the first element in the list. @return The first element */ 100 100 inline static Iterator<T> begin() 101 { return Iterator<T>(Class Manager<T>::getIdentifier()->getObjects()->first_); }101 { return Iterator<T>(ClassIdentifier<T>::getIdentifier()->getObjects()->first_); } 102 102 103 103 /** @brief Returns the last element in the list. @return The last element */ 104 104 inline static Iterator<T> end() 105 { return Iterator<T>(Class Manager<T>::getIdentifier()->getObjects()->last_); }105 { return Iterator<T>(ClassIdentifier<T>::getIdentifier()->getObjects()->last_); } 106 106 107 107 inline void registerIterator(Iterator<T>* iterator)
Note: See TracChangeset
for help on using the changeset viewer.