FEI
Version of the Day
|
#include <snl_fei_MapContig.hpp>
Classes | |
class | iterator |
Public Types | |
typedef int | key_type |
typedef VAL_TYPE | mapped_type |
typedef std::pair< int, VAL_TYPE > | value_type |
Public Member Functions | |
MapContig (int firstKey, int lastKey) | |
MapContig (const MapContig< VAL_TYPE > &src) | |
virtual | ~MapContig () |
iterator | begin () |
iterator & | end () |
std::pair< iterator, bool > | insert (value_type val) |
iterator | insert (iterator &pos, value_type val) |
iterator | find (int key) |
iterator | lower_bound (int key) |
int | size () const |
fei implementation class, many std::map characteristics but optimized for key-values that are contiguous
Definition at line 19 of file snl_fei_MapContig.hpp.
typedef int snl_fei::MapContig< VAL_TYPE >::key_type |
alias for key_type
Definition at line 29 of file snl_fei_MapContig.hpp.
typedef VAL_TYPE snl_fei::MapContig< VAL_TYPE >::mapped_type |
alias for mapped_type
Definition at line 32 of file snl_fei_MapContig.hpp.
typedef std::pair<int,VAL_TYPE> snl_fei::MapContig< VAL_TYPE >::value_type |
alias for value_type
Definition at line 35 of file snl_fei_MapContig.hpp.
snl_fei::MapContig< VAL_TYPE >::MapContig | ( | int | firstKey, |
int | lastKey | ||
) |
constructor
Definition at line 139 of file snl_fei_MapContig.hpp.
snl_fei::MapContig< VAL_TYPE >::MapContig | ( | const MapContig< VAL_TYPE > & | src | ) |
constructor
Definition at line 156 of file snl_fei_MapContig.hpp.
|
virtual |
destructor
Definition at line 169 of file snl_fei_MapContig.hpp.
|
inline |
iterator pointing to beginning of MapContig contents
Definition at line 174 of file snl_fei_MapContig.hpp.
|
inline |
iterator pointing one past the end of MapContig contents
Definition at line 180 of file snl_fei_MapContig.hpp.
std::pair<iterator,bool> snl_fei::MapContig< VAL_TYPE >::insert | ( | value_type | val | ) |
insert
iterator snl_fei::MapContig< VAL_TYPE >::insert | ( | iterator & | pos, |
value_type | val | ||
) |
insert
|
inline |
find
Definition at line 218 of file snl_fei_MapContig.hpp.
|
inline |
lower_bound
Definition at line 229 of file snl_fei_MapContig.hpp.
int snl_fei::MapContig< VAL_TYPE >::size | ( | ) | const |
size
Definition at line 240 of file snl_fei_MapContig.hpp.