Changeset 7401 for code/trunk/src/libraries/core/ObjectList.h
- Timestamp:
- Sep 11, 2010, 12:34:00 AM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/doc (added) merged: 7290-7292,7296-7300,7302-7304,7306-7312,7315-7318,7323,7325,7327,7331-7332,7334-7335,7345-7347,7352-7353,7356-7357,7361,7363-7367,7371-7375,7388
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/ObjectList.h
r7278 r7401 28 28 29 29 /** 30 @defgroup ObjectList Object-lists and iterators 31 @ingroup Object 32 */ 33 34 /** 30 35 @file 31 @brief Definition and implementation of the ObjectList class. 36 @ingroup Object ObjectList 37 @brief Definition of the ObjectList class, a wrapper of ObjectListBase. 32 38 33 The ObjectList is a wrapper of an ObjectListBase of a given class. 34 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. 35 42 */ 36 43 … … 49 56 // ### ObjectList ### 50 57 // ############################### 51 //! The ObjectList contains all objects of the given class.52 58 /** 53 Wraps the ObjectListBase of the corresponding Identifier. 54 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. 55 64 */ 56 65 template <class T> … … 60 69 typedef ObjectListIterator<T> iterator; 61 70 62 / ** @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. 63 72 inline static ObjectListElement<T>* begin() 64 73 { … … 67 76 } 68 77 69 / ** @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. 70 79 inline static ObjectListElement<T>* end() 71 80 { … … 74 83 } 75 84 76 / ** @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. 77 86 inline static ObjectListElement<T>* rbegin() 78 87 { … … 81 90 } 82 91 83 / ** @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. 84 93 inline static ObjectListElement<T>* rend() 85 94 {
Note: See TracChangeset
for help on using the changeset viewer.