This class offers similar capabilities to std::list and implements a subset of its functionality. The type 'ValueType' needs to be a Vuforia data type.
Here is an example on how to use it: Vuforia::List<const HitTesResult> hitTestResult = smartTerrain.hitTest(...)
Public Types | |
typedef Impl::ListIterator< ValueType > | iterator |
Standard C++ boilerplate typedefs. More... | |
typedef iterator | const_iterator |
typedef int | size_type |
typedef iterator::value_type | value_type |
typedef iterator::reference | reference |
typedef iterator::const_reference | const_reference |
typedef iterator::difference_type | difference_type |
Public Member Functions | |
List (List const &other) | |
List & | operator= (List const &other) |
~List () | |
iterator | begin () const |
Returns an iterator pointing to the first element in the list. More... | |
iterator | end () const |
Returns an iterator pointing to the last element in the list. More... | |
ValueType * | operator[] (int pos) const |
Functions returning the list element at position 'pos' in the list. More... | |
ValueType * | at (int pos) const |
List< const ValueType > | constView () |
Returns a read-only view of the list. More... | |
int | size () const |
Number of elements in list. More... | |
bool | empty () const |
Returns true if the list is empty, false otherwise. More... | |
Protected Member Functions | |
List (ListDataProvider< ValueType > *provider_) | |
Protected Attributes | |
ListDataProvider< ValueType > * | provider |
Friends | |
template<typename T > | |
class | List |
typedef Impl::ListIterator<ValueType> iterator |
Standard C++ boilerplate typedefs.
typedef iterator const_iterator |
typedef int size_type |
typedef iterator::value_type value_type |
typedef iterator::reference reference |
|
inline |
|
inlineprotected |
|
inline |
Returns an iterator pointing to the first element in the list.
|
inline |
Returns an iterator pointing to the last element in the list.
|
inline |
Functions returning the list element at position 'pos' in the list.
|
inline |
|
inline |
Returns a read-only view of the list.
|
inline |
Number of elements in list.
|
inline |
Returns true if the list is empty, false otherwise.
|
friend |
|
mutableprotected |