Changeset 7372 for code/branches/doc/src/libraries/core/ObjectList.h
- Timestamp:
- Sep 7, 2010, 12:58:52 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/doc/src/libraries/core/ObjectList.h
r7363 r7372 35 35 @file 36 36 @ingroup Object ObjectList 37 @brief Definition and implementationof the ObjectList class.37 @brief Definition of the ObjectList class. 38 38 39 The ObjectList is a wrapper of an ObjectListBase of a given class. 40 Use Iterator<class> to iterate through all objects of the class. 39 @ref orxonox::ObjectList "ObjectList<T>" is a wrapper of an @ref orxonox::ObjectListBase 40 "ObjectListBase" of class @a T. Use @ref orxonox::ObjectListIterator "ObjectListIterator<T>" 41 to iterate through the list. 41 42 */ 42 43 … … 55 56 // ### ObjectList ### 56 57 // ############################### 57 //! The ObjectList contains all objects of the given class.58 58 /** 59 Wraps the ObjectListBase of the corresponding Identifier. 60 Use ObjectListIterator<class> to iterate through all objects in the list. 59 @brief The ObjectList contains all objects of the given class. 60 61 Wraps the ObjectListBase which contains all objects of type @a T. Use @ref ObjectListIterator 62 "ObjectListIterator<T>" or its typedef ObjectList<T>::iterator to iterate through all objects 63 in the list. 61 64 */ 62 65 template <class T> … … 66 69 typedef ObjectListIterator<T> iterator; 67 70 68 / ** @brief Returns an Iterator to the first element in the list. @return The Iterator */71 /// Returns an Iterator to the first element in the list. 69 72 inline static ObjectListElement<T>* begin() 70 73 { … … 73 76 } 74 77 75 / ** @brief Returns an Iterator to the element after the last element in the list. @return The Iterator */78 /// Returns an Iterator to the element after the last element in the list. 76 79 inline static ObjectListElement<T>* end() 77 80 { … … 80 83 } 81 84 82 / ** @brief Returns an Iterator to the last element in the list. @return The Iterator */85 /// Returns an Iterator to the last element in the list. 83 86 inline static ObjectListElement<T>* rbegin() 84 87 { … … 87 90 } 88 91 89 / ** @brief Returns an Iterator to the element before the first element in the list. @return The Iterator */92 /// Returns an Iterator to the element before the first element in the list. 90 93 inline static ObjectListElement<T>* rend() 91 94 {
Note: See TracChangeset
for help on using the changeset viewer.