R-Type  1.0.1.0
Rewrite of the R-Type game with networking ability
Loading...
Searching...
No Matches
ImVector< T > Struct Template Reference

Public Types

typedef const value_type * const_iterator
 
typedef value_type * iterator
 
typedef T value_type
 

Public Member Functions

 ImVector (const ImVector< T > &src)
 
int _grow_capacity (int sz) const
 
T & back ()
 
const T & back () const
 
T * begin ()
 
const T * begin () const
 
int capacity () const
 
void clear ()
 
void clear_delete ()
 
void clear_destruct ()
 
bool contains (const T &v) const
 
bool empty () const
 
T * end ()
 
const T * end () const
 
T * erase (const T *it)
 
T * erase (const T *it, const T *it_last)
 
T * erase_unsorted (const T *it)
 
T * find (const T &v)
 
const T * find (const T &v) const
 
bool find_erase (const T &v)
 
bool find_erase_unsorted (const T &v)
 
T & front ()
 
const T & front () const
 
int index_from_ptr (const T *it) const
 
T * insert (const T *it, const T &v)
 
int max_size () const
 
ImVector< T > & operator= (const ImVector< T > &src)
 
T & operator[] (int i)
 
const T & operator[] (int i) const
 
void pop_back ()
 
void push_back (const T &v)
 
void push_front (const T &v)
 
void reserve (int new_capacity)
 
void reserve_discard (int new_capacity)
 
void resize (int new_size)
 
void resize (int new_size, const T &v)
 
void shrink (int new_size)
 
int size () const
 
int size_in_bytes () const
 
void swap (ImVector< T > &rhs)
 

Data Fields

int Capacity
 
T * Data
 
int Size
 

The documentation for this struct was generated from the following file: