|
typedef Id_map | self_type |
|
typedef Id | id_type |
|
typedef Obj | value_type |
|
typedef vector_t::iterator | iterator |
|
typedef vector_t::const_iterator | const_iterator |
|
typedef base_exception | Err |
|
|
| Id_map (const id_type id0) |
|
std::size_t | size () const |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
bool | empty () const |
|
id_type | min_id () const |
|
id_type | max_id () const |
|
void | reserve (const id_type id) |
|
value_type const & | operator[] (const id_type id) const |
|
value_type & | operator[] (const id_type id) |
|
value_type const & | at (const id_type id) const |
|
value_type & | at (const id_type id) |
|
value_type const * | find (const id_type id) const |
|
value_type * | find (const id_type id) |
|
id_type | insert (value_type const &obj) |
|
value_type & | insert (const id_type id) |
|
void | erase (const id_type id) |
|
void | clear () |
|
template<class Id, class Obj, template< class, class > class Stor = std::vector>
- Returns
- reference to object mapped to id; the object is default constructed if needed
The documentation for this class was generated from the following file: