Bullet Collision Detection & Physics Library
|
Very simple array container with fast access and simd memory. More...
#include <gim_array.h>
Public Member Functions | |
void | destroyData () |
protected operations More... | |
bool | resizeData (GUINT newsize) |
bool | growingCheck () |
bool | reserve (GUINT size) |
public operations More... | |
void | clear_range (GUINT start_range) |
void | clear () |
void | clear_memory () |
gim_array () | |
gim_array (GUINT reservesize) | |
~gim_array () | |
GUINT | size () const |
GUINT | max_size () const |
T & | operator[] (size_t i) |
const T & | operator[] (size_t i) const |
T * | pointer () |
const T * | pointer () const |
T * | get_pointer_at (GUINT i) |
const T * | get_pointer_at (GUINT i) const |
T & | at (GUINT i) |
const T & | at (GUINT i) const |
T & | front () |
const T & | front () const |
T & | back () |
const T & | back () const |
void | swap (GUINT i, GUINT j) |
void | push_back (const T &obj) |
void | push_back_mem () |
Simply increase the m_size, doesn't call the new element constructor. More... | |
void | push_back_memcpy (const T &obj) |
void | pop_back () |
void | pop_back_mem () |
Simply decrease the m_size, doesn't call the deleted element destructor. More... | |
void | erase (GUINT index) |
fast erase More... | |
void | erase_sorted_mem (GUINT index) |
void | erase_sorted (GUINT index) |
void | insert_mem (GUINT index) |
void | insert (const T &obj, GUINT index) |
void | resize (GUINT size, bool call_constructor=true, const T &fillData=T()) |
void | refit () |
Public Attributes | |
T * | m_data |
properties More... | |
GUINT | m_size |
GUINT | m_allocated_size |
Very simple array container with fast access and simd memory.
Definition at line 42 of file gim_array.h.
|
inline |
Definition at line 122 of file gim_array.h.
|
inline |
Definition at line 129 of file gim_array.h.
Definition at line 138 of file gim_array.h.
Definition at line 178 of file gim_array.h.
Definition at line 183 of file gim_array.h.
|
inline |
Definition at line 198 of file gim_array.h.
|
inline |
Definition at line 203 of file gim_array.h.
|
inline |
Definition at line 110 of file gim_array.h.
|
inline |
Definition at line 116 of file gim_array.h.
Definition at line 102 of file gim_array.h.
|
inline |
protected operations
Definition at line 54 of file gim_array.h.
fast erase
Definition at line 247 of file gim_array.h.
Definition at line 265 of file gim_array.h.
Definition at line 256 of file gim_array.h.
|
inline |
Definition at line 188 of file gim_array.h.
|
inline |
Definition at line 193 of file gim_array.h.
Definition at line 168 of file gim_array.h.
Definition at line 173 of file gim_array.h.
|
inline |
Definition at line 82 of file gim_array.h.
Definition at line 281 of file gim_array.h.
Definition at line 271 of file gim_array.h.
Definition at line 148 of file gim_array.h.
|
inline |
Definition at line 153 of file gim_array.h.
|
inline |
Definition at line 157 of file gim_array.h.
|
inline |
Definition at line 162 of file gim_array.h.
|
inline |
Definition at line 163 of file gim_array.h.
|
inline |
Definition at line 234 of file gim_array.h.
|
inline |
Simply decrease the m_size, doesn't call the deleted element destructor.
Definition at line 241 of file gim_array.h.
|
inline |
Definition at line 213 of file gim_array.h.
|
inline |
Simply increase the m_size, doesn't call the new element constructor.
Definition at line 221 of file gim_array.h.
|
inline |
Definition at line 227 of file gim_array.h.
|
inline |
Definition at line 312 of file gim_array.h.
public operations
Definition at line 96 of file gim_array.h.
|
inline |
Definition at line 287 of file gim_array.h.
Definition at line 62 of file gim_array.h.
Definition at line 143 of file gim_array.h.
Definition at line 208 of file gim_array.h.
Definition at line 49 of file gim_array.h.
T* gim_array< T >::m_data |
properties
Definition at line 47 of file gim_array.h.
Definition at line 48 of file gim_array.h.