MockReadonlyIndexIterBackward(const MockReadonlyIndex* owner) {
		m_isUniqueInSchema = owner->m_schema->m_isUnique;
		m_index.reset(const_cast<MockReadonlyIndex*>(owner));
		m_pos = owner->m_ids.size();
	}
Exemple #2
0
	MockReadonlyIndexIterBackward(const MockReadonlyIndex* owner) {
		m_index.reset(const_cast<MockReadonlyIndex*>(owner));
		m_pos = owner->m_ids.size();
	}
	MockReadonlyIndexIterator(const MockReadonlyIndex* owner) {
		m_isUniqueInSchema = owner->m_schema->m_isUnique;
		m_index.reset(const_cast<MockReadonlyIndex*>(owner));
		m_pos = 0;
	}
Exemple #4
0
	MockReadonlyIndexIterator(const MockReadonlyIndex* owner) {
		m_index.reset(const_cast<MockReadonlyIndex*>(owner));
		m_pos = 0;
	}