25 return m_keys.front();
28 inline bool Empty()
const
30 return m_keys.empty();
33 inline const std::deque<Streaming::MortonKey>& Fifo()
const
38 template <
class OutputIterator,
class UnaryPredicate>
39 inline OutputIterator RemoveIf(OutputIterator removed, UnaryPredicate predicate)
41 std::deque<Streaming::MortonKey>::iterator remainingIter = m_keys.begin();
42 for (std::deque<Streaming::MortonKey>::const_iterator iter = m_keys.begin(); iter != m_keys.end(); ++iter)
47 m_uniqueSet.erase(key.RawValue());
58 m_keys.erase(remainingIter, m_keys.end());
60 Eegeo_ASSERT(m_keys.size() == m_uniqueSet.size());
66 Eegeo::unordered_set<s64>::type m_uniqueSet;
67 std::deque<Streaming::MortonKey> m_keys;