Template Class conditional_iterator_proxy

Class Documentation

template<typename CategoryType, typename ...Ts>
class conditional_iterator_proxy

A conditional iterator proxy is similar to an iterator_proxy in that it can be used to return a range of rows you can iterate over. In the case of an conditional_iterator_proxy a cif::condition is used to filter out only those rows that match the condition.

Template Parameters
  • CategoryType – The category the iterators belong to

  • Ts – The types to which the iterators can be dereferenced

Public Functions

iterator begin() const

Return the iterator pointing to the first row.

iterator end() const

Return the iterator pointing past the last row.

bool empty() const

Return true if the range is empty.

inline explicit operator bool() const

Easy way to detect if the range is empty.

inline size_t size() const

Return size of the range.

inline row_handle front()

Return reference to the first row.

inline CategoryType &category() const

Category the iterators belong to.

void swap(conditional_iterator_proxy &rhs)

swap