Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::internal::gcm::datastructure::FilterIterator< Iterator > Class Template Reference

#include <ogdf/geometric/cr_min/datastructure/Iterators.h>

Public Types

using T = typename Iterator::T
 

Public Member Functions

 FilterIterator (Iterator begin, Iterator end, const std::function< bool(const typename Iterator::T)> &_predicate)
 
bool operator!= (const FilterIterator< Iterator > &b) const
 
T operator* ()
 
FilterIterator< Iterator > & operator++ ()
 
FilterIterator< Iterator > & operator-- ()
 
bool operator== (const FilterIterator< Iterator > &b) const
 

Protected Attributes

Iterator m_begin
 
Iterator m_cur
 
Iterator m_end
 
const std::function< bool(const typename Iterator::T)> m_predicate
 

Detailed Description

template<typename Iterator>
class ogdf::internal::gcm::datastructure::FilterIterator< Iterator >

Definition at line 41 of file Iterators.h.

Member Typedef Documentation

◆ T

template<typename Iterator >
using ogdf::internal::gcm::datastructure::FilterIterator< Iterator >::T = typename Iterator::T

Definition at line 49 of file Iterators.h.

Constructor & Destructor Documentation

◆ FilterIterator()

template<typename Iterator >
ogdf::internal::gcm::datastructure::FilterIterator< Iterator >::FilterIterator ( Iterator  begin,
Iterator  end,
const std::function< bool(const typename Iterator::T)> &  _predicate 
)
inline

Definition at line 51 of file Iterators.h.

Member Function Documentation

◆ operator!=()

template<typename Iterator >
bool ogdf::internal::gcm::datastructure::FilterIterator< Iterator >::operator!= ( const FilterIterator< Iterator > &  b) const
inline

Definition at line 79 of file Iterators.h.

◆ operator*()

template<typename Iterator >
T ogdf::internal::gcm::datastructure::FilterIterator< Iterator >::operator* ( )
inline

Definition at line 81 of file Iterators.h.

◆ operator++()

template<typename Iterator >
FilterIterator<Iterator>& ogdf::internal::gcm::datastructure::FilterIterator< Iterator >::operator++ ( )
inline

Definition at line 70 of file Iterators.h.

◆ operator--()

template<typename Iterator >
FilterIterator<Iterator>& ogdf::internal::gcm::datastructure::FilterIterator< Iterator >::operator-- ( )
inline

Definition at line 63 of file Iterators.h.

◆ operator==()

template<typename Iterator >
bool ogdf::internal::gcm::datastructure::FilterIterator< Iterator >::operator== ( const FilterIterator< Iterator > &  b) const
inline

Definition at line 77 of file Iterators.h.

Member Data Documentation

◆ m_begin

template<typename Iterator >
Iterator ogdf::internal::gcm::datastructure::FilterIterator< Iterator >::m_begin
protected

Definition at line 43 of file Iterators.h.

◆ m_cur

template<typename Iterator >
Iterator ogdf::internal::gcm::datastructure::FilterIterator< Iterator >::m_cur
protected

Definition at line 44 of file Iterators.h.

◆ m_end

template<typename Iterator >
Iterator ogdf::internal::gcm::datastructure::FilterIterator< Iterator >::m_end
protected

Definition at line 45 of file Iterators.h.

◆ m_predicate

template<typename Iterator >
const std::function<bool(const typename Iterator::T)> ogdf::internal::gcm::datastructure::FilterIterator< Iterator >::m_predicate
protected

Definition at line 46 of file Iterators.h.


The documentation for this class was generated from the following file: