|
Nebula
|
#include <im3d.h>
Public Member Functions | |
| Vector () | |
| ~Vector () | |
| T & | operator[] (U32 _i) |
| const T & | operator[] (U32 _i) const |
| T * | data () |
| const T * | data () const |
| T & | push_back () |
| void | push_back (const T &_v) |
| void | pop_back () |
| void | append (const T *_v, U32 _count) |
| void | append (const Vector< T > &_other) |
| T * | begin () |
| const T * | begin () const |
| T * | end () |
| const T * | end () const |
| T & | front () |
| const T & | front () const |
| T & | back () |
| const T & | back () const |
| U32 | size () const |
| U32 | capacity () const |
| bool | empty () const |
| void | clear () |
| void | reserve (U32 _capacity) |
| void | resize (U32 _size, const T &_val) |
| void | resize (U32 _size) |
Static Public Member Functions | |
| static void | swap (Vector< T > &_a_, Vector< T > &_b_) |
Private Attributes | |
| T * | m_data = nullptr |
| U32 | m_size = 0 |
| U32 | m_capacity = 0 |
|
inline |
| Vector::~Vector | ( | ) |
| void Vector::append | ( | const T * | _v, |
| U32 | _count ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Vector::reserve | ( | U32 | _capacity | ) |
| void Vector::resize | ( | U32 | _size | ) |
| void Vector::resize | ( | U32 | _size, |
| const T & | _val ) |
|
inline |
|
private |
|
private |
|
private |