59 for (
unsigned index=0; index<
mMap.size(); index++)
68 assert(oldIndex<
mMap.size());
69 mMap[oldIndex] = newIndex;
78 mMap[index] = UINT_MAX;
84 return (
mMap[index] == UINT_MAX);
93 if (
mMap[oldIndex] == UINT_MAX)
97 return mMap[oldIndex];
#define EXCEPTION(message)
void SetDeleted(unsigned index)
unsigned GetNewIndex(unsigned oldIndex) const
std::vector< unsigned > mMap
void SetNewIndex(unsigned oldIndex, unsigned newIndex)
void Resize(unsigned size)
bool IsDeleted(unsigned index)