void moveToNextUnfiltered() { while (iv_pIterator->isValid()) { bool bIsFiltered = iv_cpFilter->isFiltered(iv_pIterator->get()); if (!bIsFiltered) { return; } else { iv_pIterator->moveToNext(); } } }
void moveToNext() { assert(isValid()); iv_pIterator->moveToNext(); moveToNextUnfiltered(); }