#include <set.hh>
Public Types | |
typedef Key | key_type |
typedef Iter | value_type |
typedef KeyedIterator< Key, d_iterator_ > | const_iterator |
typedef const_iterator | iterator |
Public Member Functions | |
MSIndex (const Set &s) | |
iterator | begin (const Key &k) const |
iterator | end (const Key &k) const |
iterator | find (const Key &k, const Iter &x) const |
void | insert (const Iter &x) |
void | erase (const Iter &x) |
void | set_stamp (const_iterator pos, const TimeVal &now=TimeVal::now()) |
const TimeVal | stamp (const_iterator pos) const |
bool | expired (const_iterator pos, const TimeVal &period, const TimeVal &now=TimeVal::now()) const |
void | add_key (const Key &k) |
void | remove_key (const Key &k) |
Private Types | |
typedef MSIndex< Set, Dim, Key, Comp > | This |
typedef Set::iterator | Iter |
typedef Set::key_compare | IterComp |
typedef Set::value_type | Value |
typedef type_traits< Value >::const_val | CElem |
typedef std::multiset< Iter, Comp > | set_t |
typedef std::map< Key, set_t > | setmap_t |
typedef set_t::const_iterator | c_iterator_ |
typedef DerefIterator< c_iterator_ > | d_iterator_ |
Private Attributes | |
setmap_t | m_ |
const IterComp & | c_ |
const Set & | s_ |
typedef MSIndex<Set, Dim, Key, Comp> olsr::utl::MSIndex< Set, Dim, Key, Comp >::This [private] |
typedef Set::iterator olsr::utl::MSIndex< Set, Dim, Key, Comp >::Iter [private] |
typedef Set::key_compare olsr::utl::MSIndex< Set, Dim, Key, Comp >::IterComp [private] |
typedef Set::value_type olsr::utl::MSIndex< Set, Dim, Key, Comp >::Value [private] |
typedef type_traits<Value>::const_val olsr::utl::MSIndex< Set, Dim, Key, Comp >::CElem [private] |
typedef std::multiset<Iter, Comp> olsr::utl::MSIndex< Set, Dim, Key, Comp >::set_t [private] |
typedef std::map<Key, set_t> olsr::utl::MSIndex< Set, Dim, Key, Comp >::setmap_t [private] |
typedef set_t::const_iterator olsr::utl::MSIndex< Set, Dim, Key, Comp >::c_iterator_ [private] |
typedef DerefIterator<c_iterator_> olsr::utl::MSIndex< Set, Dim, Key, Comp >::d_iterator_ [private] |
typedef Key olsr::utl::MSIndex< Set, Dim, Key, Comp >::key_type |
typedef Iter olsr::utl::MSIndex< Set, Dim, Key, Comp >::value_type |
typedef KeyedIterator<Key, d_iterator_> olsr::utl::MSIndex< Set, Dim, Key, Comp >::const_iterator |
typedef const_iterator olsr::utl::MSIndex< Set, Dim, Key, Comp >::iterator |
olsr::utl::MSIndex< Set, Dim, Key, Comp >::MSIndex | ( | const Set & | s | ) | [inline] |
iterator olsr::utl::MSIndex< Set, Dim, Key, Comp >::begin | ( | const Key & | k | ) | const [inline] |
iterator olsr::utl::MSIndex< Set, Dim, Key, Comp >::end | ( | const Key & | k | ) | const [inline] |
iterator olsr::utl::MSIndex< Set, Dim, Key, Comp >::find | ( | const Key & | k, | |
const Iter & | x | |||
) | const [inline] |
void olsr::utl::MSIndex< Set, Dim, Key, Comp >::insert | ( | const Iter & | x | ) | [inline] |
void olsr::utl::MSIndex< Set, Dim, Key, Comp >::erase | ( | const Iter & | x | ) | [inline] |
void olsr::utl::MSIndex< Set, Dim, Key, Comp >::set_stamp | ( | const_iterator | pos, | |
const TimeVal & | now = TimeVal::now() | |||
) | [inline] |
const TimeVal olsr::utl::MSIndex< Set, Dim, Key, Comp >::stamp | ( | const_iterator | pos | ) | const [inline] |
bool olsr::utl::MSIndex< Set, Dim, Key, Comp >::expired | ( | const_iterator | pos, | |
const TimeVal & | period, | |||
const TimeVal & | now = TimeVal::now() | |||
) | const [inline] |
void olsr::utl::MSIndex< Set, Dim, Key, Comp >::add_key | ( | const Key & | k | ) | [inline] |
void olsr::utl::MSIndex< Set, Dim, Key, Comp >::remove_key | ( | const Key & | k | ) | [inline] |
setmap_t olsr::utl::MSIndex< Set, Dim, Key, Comp >::m_ [private] |
const IterComp& olsr::utl::MSIndex< Set, Dim, Key, Comp >::c_ [private] |
const Set& olsr::utl::MSIndex< Set, Dim, Key, Comp >::s_ [private] |