OpenSDN source code
|
#include <index_vector.h>
Public Types | |
typedef std::vector< EntryType > | EntryTable |
Public Member Functions | |
IndexVector () | |
~IndexVector () | |
EntryType | At (size_t index) const |
size_t | Insert (EntryType entry) |
size_t | InsertAtIndex (uint32_t index, EntryType entry) |
void | Update (size_t index, EntryType entry) |
void | Remove (size_t index) |
bool | NoneIndexSet () |
size_t | InUseIndexCount () |
Static Public Attributes | |
static const size_t | kGrowSize = 32 |
Private Types | |
typedef boost::dynamic_bitset | Bitmap |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (IndexVector) | |
Private Attributes | |
Bitmap | bitmap_ |
EntryTable | entries_ |
Definition at line 15 of file index_vector.h.
|
private |
Definition at line 94 of file index_vector.h.
typedef std::vector<EntryType> IndexVector< EntryType >::EntryTable |
Definition at line 19 of file index_vector.h.
|
inline |
Definition at line 21 of file index_vector.h.
|
inline |
Definition at line 22 of file index_vector.h.
|
inline |
Definition at line 32 of file index_vector.h.
|
private |
|
inline |
Definition at line 40 of file index_vector.h.
|
inline |
Definition at line 54 of file index_vector.h.
|
inline |
Definition at line 89 of file index_vector.h.
|
inline |
Definition at line 85 of file index_vector.h.
|
inline |
Definition at line 78 of file index_vector.h.
|
inline |
Definition at line 72 of file index_vector.h.
|
private |
Definition at line 95 of file index_vector.h.
|
private |
Definition at line 96 of file index_vector.h.
|
static |
Definition at line 17 of file index_vector.h.