|
| | Vector (Allocator &allocator) |
| | Constructor with only allocator.
|
| | Vector (Allocator &allocator) |
| | Constructor with only allocator.
|
| | Vector (const Vector< T > ©From) |
| | copy constructor
|
| | Vector (const Vector< T > ©From) |
| | copy constructor
|
| | Vector (int size, T value, Allocator &allocator=DefaultAllocator) |
| | Allocate size and initialize array.
|
| | Vector (int size, T value, Allocator &allocator=DefaultAllocator) |
| | Allocate size and initialize array.
|
| | Vector (size_t len=0, Allocator &allocator=DefaultAllocator) |
| | Default constructor: size 0 with DefaultAllocator: The len defines the capacity.
|
| | Vector (size_t len=0, Allocator &allocator=DefaultAllocator) |
| | Default constructor: size 0 with DefaultAllocator: The len defines the capacity.
|
| | Vector (T *from, T *to, Allocator &allocator=DefaultAllocator) |
| | legacy constructor with pointer range
|
| | Vector (T *from, T *to, Allocator &allocator=DefaultAllocator) |
| | legacy constructor with pointer range
|
| template<typename TT, int N> |
| | Vector (TT(&a)[N]) |
| | convert from c array
|
| template<typename TT, int N> |
| | Vector (TT(&a)[N]) |
| | convert from c array
|
| | Vector (Vector< T > &&moveFrom) |
| | Move constructor.
|
| | Vector (Vector< T > &&moveFrom) |
| | Move constructor.
|
| virtual | ~Vector () |
| | Destructor.
|
| virtual | ~Vector () |
| | Destructor.
|
| void | assign (iterator v1, iterator v2) |
| void | assign (iterator v1, iterator v2) |
| void | assign (size_t number, T value) |
| void | assign (size_t number, T value) |
| T & | back () |
| T & | back () |
| iterator | begin () |
| iterator | begin () |
| int | capacity () |
| int | capacity () |
| void | clear () |
| void | clear () |
| bool | contains (T obj) |
| bool | contains (T obj) |
| T * | data () |
| T * | data () |
| bool | empty () |
| bool | empty () |
| iterator | end () |
| iterator | end () |
| void | erase (int pos) |
| void | erase (int pos) |
| void | erase (iterator it) |
| void | erase (iterator it) |
| int | indexOf (T obj) |
| int | indexOf (T obj) |
| | operator bool () const |
| | operator bool () const |
| Vector< T > & | operator= (const Vector< T > ©From) |
| | copy operator
|
| Vector< T > & | operator= (const Vector< T > ©From) |
| | copy operator
|
| Vector & | operator= (Vector &&moveFrom) |
| | Move operator.
|
| Vector & | operator= (Vector &&moveFrom) |
| | Move operator.
|
| T & | operator[] (const int index) const |
| T & | operator[] (const int index) const |
| T & | operator[] (int index) |
| T & | operator[] (int index) |
| void | pop_back () |
| void | pop_back () |
| void | pop_front () |
| void | pop_front () |
| void | push_back (T &&value) |
| void | push_back (T &&value) |
| void | push_back (T &value) |
| void | push_back (T &value) |
| void | push_front (T &&value) |
| void | push_front (T &&value) |
| void | push_front (T &value) |
| void | push_front (T &value) |
| void | reset () |
| void | reset () |
| bool | resize (size_t newSize) |
| bool | resize (size_t newSize) |
| bool | resize (size_t newSize, T value) |
| bool | resize (size_t newSize, T value) |
| void | setAllocAssertActive (bool flag) |
| void | setAllocAssertActive (bool flag) |
| void | setAllocator (Allocator &allocator) |
| void | setAllocator (Allocator &allocator) |
| void | shrink_to_fit () |
| void | shrink_to_fit () |
| int | size () |
| int | size () |
| void | swap (T &other) |
| void | swap (T &other) |
| void | swap (Vector< T > &in) |
| void | swap (Vector< T > &in) |
template<class T>
class audio_tools::audio_tools::Vector< T >
Vector implementation which provides the most important methods as defined by std::vector. This class it is quite handy to have and most of the times quite better then dealing with raw c arrays.
- Author
- Phil Schatzmann
- Copyright
- GPLv3