Public Member Functions | List of all members
Om::Source::CollectionFrontSource< ThisItem, ThisIterator > Class Template Reference

A range over a collection, starting from the front. More...

#include "collection_front_source.hpp"

+ Inheritance diagram for Om::Source::CollectionFrontSource< ThisItem, ThisIterator >:
+ Collaboration diagram for Om::Source::CollectionFrontSource< ThisItem, ThisIterator >:

Public Member Functions

template<typename TheCollection >
 CollectionFrontSource (TheCollection &)
- Public Member Functions inherited from Om::Source::IteratorPairSource< ThisItem, ThisIterator >
 IteratorPairSource (ThisIterator theCurrent, ThisIterator const theEnd)
IteratorPairSourceoperator= (IteratorPairSource)
virtual ThisItem & operator* () const
bool Equals (IteratorPairSource const &) const
void End ()
virtual bool operator! () const
virtual void Pop ()
 Pops the current item. More...
void Swap (IteratorPairSource &)
- Public Member Functions inherited from Om::Source::DefaultSource< ThisItem, IteratorPairSource< ThisItem, ThisIterator > >
virtual ~DefaultSource ()=0
IteratorPairSource< ThisItem, ThisIterator > & operator++ ()
 Pulls the next item from the Source. More...
IteratorPairSource< ThisItem, ThisIterator > operator++ (int)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
virtual bool Equals (Source< ThisItem > const &) const
bool Equals (IteratorPairSource< ThisItem, ThisIterator > const &) const
- Public Member Functions inherited from Om::Source::Source< ThisItem >
virtual ~Source ()=0
ThisItem * operator-> () const
 operator Boolean () const
 Implements the Safe Boolean idiom. More...

Additional Inherited Members

- Public Types inherited from Om::Source::Source< ThisItem >
typedef void(Source::* Boolean) () const
 The implementation of the Safe Boolean idiom. More...

Detailed Description

template<typename ThisItem, typename ThisIterator>
class Om::Source::CollectionFrontSource< ThisItem, ThisIterator >

Definition at line 36 of file collection_front_source.hpp.

Constructor & Destructor Documentation

◆ CollectionFrontSource()

template<typename ThisItem , typename ThisIterator >
template<typename TheCollection >
Om::Source::CollectionFrontSource< ThisItem, ThisIterator >::CollectionFrontSource ( TheCollection &  )

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