Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
CoreSparseTable< T > Class Template Reference

Public Member Functions

 CoreSparseTable (const unsigned int &capacity=0)
 
bool is_empty () const
 
bool is_item_exists (const unsigned int &id) const
 
unsigned int get_item_index (const unsigned int &id) const
 
const T & get_item (const unsigned int &id) const
 
T & get_item (const unsigned int &id)
 
const CoreBasicArray< unsigned
int > & 
get_indices () const
 
const CoreBasicArray< T > & get_items () const
 
CoreBasicArray< T > & get_items ()
 
void get_ids (CoreArray< unsigned int > &ids) const
 
unsigned int set_item (const unsigned int &id, const T &item)
 
bool remove_item (const unsigned int &id)
 
void remove_all ()
 
size_t get_memory_size () const