![]() |
GemaCoreLib
The GeMA Core library
|
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) | |