1 #ifndef FilteredConfigIterator_HH
2 #define FilteredConfigIterator_HH
10 template <
typename IteratorType>
13 template <
typename IteratorType>
14 void swap(FilterIterator<IteratorType> &a, FilterIterator<IteratorType> &b);
19 template <
typename IteratorType>
21 typename IteratorType::value_type> {
23 using pointer =
typename IteratorType::pointer;
69 template <
typename IteratorType>
78 template <
typename IteratorType,
typename DataObject>
80 IteratorType
const &it, IteratorType
const &it_end,
86 template <
typename IteratorType>
typename IteratorType::pointer pointer
reference operator*() const
pointer operator->() const
std::function< bool(reference)> m_filter
typename IteratorType::reference reference
FilterIterator(IteratorType const &_begin, IteratorType const &_end, std::function< bool(reference)> _filter)
FilterIterator operator++(int)
FilterIterator & operator++()
typename IteratorType::value_type DataObject
bool operator!=(const FilterIterator &RHS) const
FilterIterator(IteratorType const &_end)
bool operator==(const FilterIterator &RHS) const
void swap(FilterIterator< IteratorType > &a, FilterIterator< IteratorType > &b)
Definitions.
void swap(ConfigDoF &A, ConfigDoF &B)
FilteredConfigIterator< IteratorType > filter_begin(const IteratorType &it, const IteratorType &it_end, const std::vector< std::string > &filter_expr, const DataFormatterDictionary< DataObject > &_dict)
FilteredConfigIterator< IteratorType > filter_end(const IteratorType &it_end)