27 void addMapping(
unsigned int offset,
unsigned int newOffset);
28 void createInverseMapping();
32 bool isEmpty() {
return m_mappingNewToOld.size()==0; }
37 unsigned int getOriginalOffset(
unsigned int newOffset)
const;
39 void getNewOffsets(
unsigned int prevOffset, std::vector<unsigned int>& newOffsets)
const;
42 std::string toString()
const;
47 std::map<unsigned int, unsigned int> m_mappingNewToOld;
48 std::multimap<unsigned int, unsigned int> m_mappingOldToNew;