#include <TupleKeyMapI.H>
Public Types | |
typedef RepType::const_iterator | ConstIteratorType |
Public Member Functions | |
void | insert (TupleArgDecls, ValueT) |
bool | containsKey (TupleArgDecls, ConstIteratorType *i=0) const |
ValueT | fetch (TupleArgDecls) const |
ValueT | fetch (ConstIteratorType) const |
void | report () const |
void | clear () |
unsigned | size () |
Private Types | |
typedef std::map< Tuple4, ValueT > | RepType |
Private Attributes | |
RepType | m_rep |
typedef std::map< Tuple4, ValueT > TupleKeyMap<, ValueT >::RepType [private] |
typedef RepType::const_iterator TupleKeyMap<, ValueT >::ConstIteratorType |
void TupleKeyMap<, ValueT >::insert | ( | TupleArgDecls | , | |
ValueT | value | |||
) | [inline] |
References TupleKeyMap<, ValueT >::containsKey(), TupleKeyMap<, ValueT >::m_rep, Tuple2, Tuple3, Tuple4, and TupleArgValues.
bool TupleKeyMap<, ValueT >::containsKey | ( | TupleArgDecls | , | |
ConstIteratorType * | i = 0 | |||
) | const [inline] |
References TupleKeyMap<, ValueT >::m_rep, Tuple2, Tuple3, and Tuple4.
Referenced by TupleKeyMap<, ValueT >::fetch(), and TupleKeyMap<, ValueT >::insert().
ValueT TupleKeyMap<, ValueT >::fetch | ( | TupleArgDecls | ) | const [inline] |
Returns the value associated with the tuple key.
References TupleKeyMap<, ValueT >::containsKey(), TupleKeyMap<, ValueT >::m_rep, Tuple2, Tuple3, Tuple4, and TupleArgValues.
ValueT TupleKeyMap<, ValueT >::fetch | ( | ConstIteratorType | iter | ) | const [inline] |
void TupleKeyMap<, ValueT >::report | ( | ) | const [inline] |
References TupleKeyMap<, ValueT >::m_rep.
void TupleKeyMap<, ValueT >::clear | ( | ) | [inline] |
References TupleKeyMap<, ValueT >::m_rep.
unsigned TupleKeyMap<, ValueT >::size | ( | ) | [inline] |
References TupleKeyMap<, ValueT >::m_rep.
RepType TupleKeyMap<, ValueT >::m_rep [private] |