RobWorkProject  23.9.11-
Public Member Functions | List of all members
CNodePairMap< T > Class Template Reference

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
 

Detailed Description

template<class T>
class rwsim::simulator::CNodePairMap< T >

This implementation creates an efficient mapping between CNodePair and some user defined type. Lookup and insertion is O(1).


The documentation for this class was generated from the following file: