CACAO
|
Public Types | |
typedef std::vector< T >::iterator | iterator |
typedef std::vector< T > ::const_iterator | const_iterator |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
T & | operator[] (size_t index) |
Returns the element at the specified index. More... | |
const T & | operator[] (size_t index) const |
size_t | size () const |
void | resize (size_t size) |
Private Attributes | |
std::vector< T > | _vec |
Definition at line 31 of file DynamicVector.hpp.
typedef std::vector<T>::const_iterator DynamicVector< T >::const_iterator |
Definition at line 38 of file DynamicVector.hpp.
typedef std::vector<T>::iterator DynamicVector< T >::iterator |
Definition at line 37 of file DynamicVector.hpp.
|
inline |
Definition at line 64 of file DynamicVector.hpp.
|
inline |
Definition at line 70 of file DynamicVector.hpp.
|
inline |
Definition at line 76 of file DynamicVector.hpp.
|
inline |
Definition at line 82 of file DynamicVector.hpp.
|
inline |
Returns the element at the specified index.
Resizes the vector if the index does not exist yet.
Definition at line 88 of file DynamicVector.hpp.
|
inline |
Definition at line 96 of file DynamicVector.hpp.
|
inline |
Definition at line 109 of file DynamicVector.hpp.
|
inline |
Definition at line 103 of file DynamicVector.hpp.
|
private |
Definition at line 33 of file DynamicVector.hpp.