|
OpenSDN source code
|
#include <index_map.h>

Public Types | |
| typedef std::vector< ValueType * > | VectorType |
| typedef std::map< KeyType, ValueType * > | MapType |
| typedef MapType::iterator | iterator |
| typedef MapType::const_iterator | const_iterator |
Public Member Functions | |
| IndexMap () | |
| ~IndexMap () | |
| ValueType * | At (int index) const |
| ValueType * | Find (const KeyType &key) const |
| void | ReserveBit (int index) |
| size_t | Insert (const KeyType &key, ValueType *value, int index=-1) |
| void | Remove (const KeyType &key, int index, bool clear_bit=true) |
| void | ResetBit (int index) |
| ValueType * | Locate (const KeyType &key) |
| size_t | size () const |
| size_t | count () const |
| bool | empty () const |
| void | clear () |
| const BitsetType & | bits () const |
| iterator | begin () |
| iterator | end () |
| iterator | lower_bound (const KeyType &key) |
| const_iterator | cbegin () |
| const_iterator | cend () |
| const_iterator | clower_bound (const KeyType &key) |
Private Member Functions | |
| DISALLOW_COPY_AND_ASSIGN (IndexMap) | |
Private Attributes | |
| BitsetType | bits_ |
| VectorType | values_ |
| MapType | map_ |
Definition at line 19 of file index_map.h.
| typedef MapType::const_iterator IndexMap< KeyType, ValueType, BitsetType >::const_iterator |
Definition at line 24 of file index_map.h.
| typedef MapType::iterator IndexMap< KeyType, ValueType, BitsetType >::iterator |
Definition at line 23 of file index_map.h.
| typedef std::map<KeyType, ValueType *> IndexMap< KeyType, ValueType, BitsetType >::MapType |
Definition at line 22 of file index_map.h.
| typedef std::vector<ValueType *> IndexMap< KeyType, ValueType, BitsetType >::VectorType |
Definition at line 21 of file index_map.h.
|
inline |
Definition at line 26 of file index_map.h.
|
inline |
Definition at line 31 of file index_map.h.
|
inline |
Definition at line 112 of file index_map.h.
|
inline |
Definition at line 110 of file index_map.h.
|
inline |
Definition at line 117 of file index_map.h.
|
inline |
Definition at line 118 of file index_map.h.
|
inline |
Definition at line 119 of file index_map.h.
|
inline |
Definition at line 101 of file index_map.h.
|
private |
|
inline |
Definition at line 102 of file index_map.h.
|
inline |
Definition at line 113 of file index_map.h.
|
inline |
Definition at line 34 of file index_map.h.
|
inline |
Definition at line 50 of file index_map.h.
|
inline |
Definition at line 114 of file index_map.h.
|
inline |
Definition at line 42 of file index_map.h.
|
inline |
Definition at line 78 of file index_map.h.
|
inline |
Definition at line 100 of file index_map.h.
|
private |
Definition at line 124 of file index_map.h.
|
private |
Definition at line 126 of file index_map.h.
|
private |
Definition at line 125 of file index_map.h.