A std::vector-like data container for POD-types.
More...
#include <GainputContainers.h>
|
typedef T * | iterator |
|
typedef const T * | const_iterator |
|
typedef T | value_type |
|
|
| Array (Allocator &allocator, size_t capacity=DefaultCapacity) |
|
iterator | begin () |
|
const_iterator | begin () const |
|
iterator | end () |
|
const_iterator | end () const |
|
T & | operator[] (size_t i) |
|
const T & | operator[] (size_t i) const |
|
void | push_back (const value_type &val) |
|
void | pop_back () |
|
void | reserve (size_t capacity) |
|
void | swap (Array< T > &x) |
|
iterator | erase (iterator pos) |
|
void | clear () |
|
bool | empty () const |
|
size_t | size () const |
|
iterator | find (const value_type &val) |
|
const_iterator | find (const value_type &val) const |
|
|
static const size_t | DefaultCapacity = 8 |
|
template<class T>
class gainput::Array< T >
A std::vector-like data container for POD-types.
- Template Parameters
-
T | A POD-type to hold in this container. |
The documentation for this class was generated from the following file: