Classes | |
class | const_iterator |
const_iterator More... | |
class | iterator |
iterator More... | |
Public Member Functions | |
mvector () | |
Constructor. | |
~mvector () | |
Destructor. | |
void | clear () |
delete the data | |
bool | reserve (uint n) |
estimation of the memory that will be used | |
bool | reserve_more (uint n) |
reserve space for n new elements | |
bool | allocate_more (uint n) |
insert n new elements | |
Data & | add (uint &id) |
add one more element and | |
bool | remove (uint id) |
lazy remotion | |
uint | size () |
size accessor | |
uint | used_size () |
size accessor | |
const Data & | at (uint id) const |
non checked const accessor | |
Data & | at (uint id) |
non checked accessor | |
const Data & | operator[] (uint id) const |
non checked const accessor | |
Data & | operator[] (uint id) |
non checked accessor | |
Data * | operator+ (uint id) |
non checked pointer accessor | |
bool | is_valid (uint id) |
id range validity check | |
bool | is_deleted (uint id) |
id validity check | |
iterator | begin (uint id=0) |
Node iterator creation. | |
const_iterator | cbegin (uint id=0) |
Node const iterator creation. |