Exemple #1
0
void ZTS_RAM::AddIndex(ZRef<ZTupleIndexFactory> iIndexFactory)
	{
	ZTupleIndex* theIndex = iIndexFactory->Make();
	fIndices.push_back(theIndex);
	for (map<uint64, ZTuple>::const_iterator i = fTuples.begin(); i != fTuples.end(); ++i)
		theIndex->Add(i->first, &i->second);
	}