14#ifndef INDEXREMAPPER_H
15#define INDEXREMAPPER_H
29class EXPCL_INTERROGATEDB IndexRemapper {
37 bool in_map(
int from)
const;
41 std::map<int, int> _map_int;
bool in_map(int from) const
Returns true if the given 'from' integer has been assigned a mapping, false if it has not.
void add_mapping(int from, int to)
Adds a mapping from the integer 'from' to 'to'.
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...