41 #ifndef DTK_ENTITYITERATOR_HPP 42 #define DTK_ENTITYITERATOR_HPP 48 #include <DTK_Entity.hpp> 49 #include <DTK_Types.hpp> 64 class EntityIterator :
public std::iterator<std::forward_iterator_tag, Entity>
94 virtual Entity &operator*(
void );
97 virtual Entity *operator->(
void );
106 std::size_t size()
const;
116 std::unique_ptr<EntityIterator> b_iterator_impl;
126 virtual std::unique_ptr<EntityIterator> clone()
const;
131 void advanceToFirstValidElement();
142 #endif // end DTK_ENTITYITERATOR_HPP Geometric entity interface definition.
Entity iterator interface.
EntityIterator & operator=(const EntityIterator &rhs)
Assignment operator.
std::function< bool(Entity)> PredicateFunction
Predicate function typedef.
virtual ~EntityIterator()
Destructor.
EntityIterator()
Constructor.