HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SparseArray< T > Class Template Reference

#include <UT_SparseArray.h>

Public Member Functions

 UT_SparseArray ()
 
 ~UT_SparseArray ()
 
void append (int index, T data)
 
void removeIndex (int index)
 
void clear ()
 
T operator() (unsigned int i)
 
const T operator() (unsigned int i) const
 
int find (int index) const
 
int entries () const
 
T getRawEntry (int raw_index, int &index)
 

Detailed Description

template<typename T>
class UT_SparseArray< T >

Definition at line 20 of file UT_SparseArray.h.

Constructor & Destructor Documentation

template<typename T >
UT_SparseArray< T >::UT_SparseArray ( )

Definition at line 20 of file UT_SparseArrayImpl.h.

template<typename T >
UT_SparseArray< T >::~UT_SparseArray ( )

Definition at line 25 of file UT_SparseArrayImpl.h.

Member Function Documentation

template<typename T >
void UT_SparseArray< T >::append ( int  index,
T  data 
)

Definition at line 32 of file UT_SparseArrayImpl.h.

template<typename T >
void UT_SparseArray< T >::clear ( void  )

Definition at line 69 of file UT_SparseArrayImpl.h.

template<typename T >
int UT_SparseArray< T >::entries ( ) const
inline

Definition at line 42 of file UT_SparseArray.h.

template<typename T >
int UT_SparseArray< T >::find ( int  index) const

Definition at line 109 of file UT_SparseArrayImpl.h.

template<typename T >
T UT_SparseArray< T >::getRawEntry ( int  raw_index,
int index 
)

Definition at line 78 of file UT_SparseArrayImpl.h.

template<typename T >
T UT_SparseArray< T >::operator() ( unsigned int  i)

Definition at line 91 of file UT_SparseArrayImpl.h.

template<typename T >
const T UT_SparseArray< T >::operator() ( unsigned int  i) const

Definition at line 99 of file UT_SparseArrayImpl.h.

template<typename T >
void UT_SparseArray< T >::removeIndex ( int  index)

Definition at line 57 of file UT_SparseArrayImpl.h.


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