![]() |
RobWorkProject
23.9.11-
|
This implementation creates an efficient mapping between CNodePair and some user defined type. Lookup and insertion is O(1). More...
#include <CNodePairMap.hpp>
Public Member Functions | |
CNodePairMap (T defaultVal) | |
creates a framemap | |
CNodePairMap (int s, T defaultVal) | |
creates a framemap with an initial size of s | |
void | insert (const CNodePair &pair, T &value) |
inserts a value | |
T & | get (const CNodePair &pair) |
returns a reference to the object that pair maps into | |
const T & | operator[] (const CNodePair &pair) const |
T & | operator[] (const CNodePair &pair) |
get the value associated with frame | |
This implementation creates an efficient mapping between CNodePair and some user defined type. Lookup and insertion is O(1).