API Reference > OdDb Classes > OdDbFilteredBlockIterator Class > OdDbFilteredBlockIterator Methods > OdDbFilteredBlockIterator::buffersForComposition Method
OdDbFilteredBlockIterator::buffersForComposition Method
Syntax
C++
virtual bool buffersForComposition() const;

Returns true if and only if the Index iterator, when not the primary iterator, is to buffer its output.

When false, only the first index/filter pair is traversed, with subsequent pairs queried via accepts(). 

If true, after all the IDs from the previous iterator have been added to the buffer, the start(), next() and id() of this iterator are be used iterate through the data.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.