GemaCoreLib
The GeMA Core library
Public Member Functions | Private Attributes | List of all members
GmRleSparseVector< T > Class Template Reference
Collaboration diagram for GmRleSparseVector< T >:
Collaboration graph
[legend]

Public Member Functions

const T at (int index, const T &defValue) const
 
void insert (int index, const T &val)
 
void remove (int index, const T &defValue)
 
void clear (int n, const T &defVal)
 

Private Attributes

QVarLengthArray< int, 1 > _index
 _index[i] stores the first index of a block with continuous value given by _data[i].
 
QVarLengthArray< T, 1 > _data
 The value associated with indices _index[i] ... (_index[i+1]-1)
 

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