#include <core/alien/utils/VMap.h>
Classes | |
| class | iterator |
| class | const_iterator |
Public Member Functions | |
| VMap (Integer first_capacity=4) | |
| VMap (const VMap &vmap) | |
| VMap & | operator= (const VMap &vmap) |
| DataT & | operator[] (IndexT index) |
| iterator | find (IndexT index) |
| const_iterator | find (IndexT index) const |
| std::pair< iterator, bool > | insert (IndexT index) |
| const_iterator | begin () const |
| const_iterator | end () const |
| iterator | begin () |
| iterator | end () |
| Integer | size () const |
Static Private Member Functions | |
| static Integer | new_capacity (Integer capacity) |
Private Attributes | |
| Integer | m_size |
| Integer | m_capacity |
| IndexT * | m_indexes |
| DataT * | m_data |
| void * | m_memory_pool |
Tableau associatif pour des clefs et données POD
|
explicit |
|
virtual |
| Alien::VMap< IndexT, DataT >::VMap | ( | const VMap< IndexT, DataT > & | vmap | ) |
|
inline |
|
inline |
|
inline |
|
inline |
| VMap< IndexT, DataT >::iterator Alien::VMap< IndexT, DataT >::find | ( | IndexT | index | ) |
| VMap< IndexT, DataT >::const_iterator Alien::VMap< IndexT, DataT >::find | ( | IndexT | index | ) | const |
| std::pair< typename VMap< IndexT, DataT >::iterator, bool > Alien::VMap< IndexT, DataT >::insert | ( | IndexT | index | ) |
|
staticprivate |
| VMap< IndexT, DataT > & Alien::VMap< IndexT, DataT >::operator= | ( | const VMap< IndexT, DataT > & | vmap | ) |
| DataT & Alien::VMap< IndexT, DataT >::operator[] | ( | IndexT | index | ) |
|
inlinenodiscard |
|
private |
|
private |
|
private |
|
private |
|
private |