15 #include "indexRemapper.h"
64 return _map_int.count(from) != 0;
76 map<int, int>::const_iterator mi;
77 mi = _map_int.find(from);
78 if (mi == _map_int.end()) {
bool in_map(int from) const
Returns true if the given 'from' integer has been assigned a mapping, false if it has not...
void clear()
Removes all mappings from the object.
int map_from(int from) const
Returns the integer that the given 'from' integer had been set to map to, or the same integer if noth...
void add_mapping(int from, int to)
Adds a mapping from the integer 'from' to 'to'.