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

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

#include "collection_back_source.hpp"

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

Public Member Functions

template<typename TheCollection >
 CollectionBackSource (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::CollectionBackSource< ThisItem, ThisIterator >

Definition at line 36 of file collection_back_source.hpp.

Constructor & Destructor Documentation

◆ CollectionBackSource()

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

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