Logo Search packages:      
Sourcecode: blender version File versions  Download package

gim_array< T > Class Template Reference

#include <gim_array.h>

List of all members.

Detailed Description

template<typename T>
class gim_array< T >

Very simple array container with fast access and simd memory.

Definition at line 43 of file gim_array.h.

Public Member Functions

const T & at (GUINT i) const
T & at (GUINT i)
const T & back () const
T & back ()
void clear ()
void clear_memory ()
void clear_range (GUINT start_range)
void erase (GUINT index)
 fast erase
void erase_sorted (GUINT index)
void erase_sorted_mem (GUINT index)
const T & front () const
T & front ()
const T * get_pointer_at (GUINT i) const
T * get_pointer_at (GUINT i)
 gim_array (GUINT reservesize)
void insert (const T &obj, GUINT index)
void insert_mem (GUINT index)
GUINT max_size () const
const T & operator[] (size_t i) const
T & operator[] (size_t i)
const T * pointer () const
T * pointer ()
void pop_back ()
void pop_back_mem ()
 Simply decrease the m_size, doesn't call the deleted element destructor.
void push_back (const T &obj)
void push_back_mem ()
 Simply increase the m_size, doesn't call the new element constructor.
void push_back_memcpy (const T &obj)
void refit ()
bool reserve (GUINT size)
void resize (GUINT size, bool call_constructor=true)
GUINT size () const
void swap (GUINT i, GUINT j)
void destroyData ()
bool growingCheck ()
bool resizeData (GUINT newsize)

Public Attributes

GUINT m_allocated_size
T * m_data
GUINT m_size

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

Generated by  Doxygen 1.6.0   Back to index