Public class of page enumerations that delegates its calls to an implementation object that can filte...
virtual SharedPageDescriptor GetNextElement() override
Return the next element of the enumeration.
PageEnumeration & operator=(const PageEnumeration &rEnumeration)
PageEnumeration(const PageEnumeration &rEnumeration)
This copy constructor creates a copy of the given enumeration.
virtual bool HasMoreElements() const override
Return <TRUE> when the enumeration has more elements, i.e.
static PageEnumeration Create(const SlideSorterModel &rModel, const PagePredicate &rPredicate)
virtual ~PageEnumeration() override
virtual void Rewind() override
Rewind the enumeration so that the next call to GetNextElement() will return its first element.
virtual ::std::unique_ptr< Enumeration< SharedPageDescriptor > > Clone() override
Create and return an exact copy of the called object.
::std::function< bool(const SharedPageDescriptor &)> PagePredicate
Create a new page enumeration that enumerates a subset of the pages of the given model.
::std::unique_ptr< Enumeration< SharedPageDescriptor > > mpImpl
Implementation object.