|
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_ |