Om
|
A Source adapter for a container; pulls items from the back. More...
#include "container_back_source.hpp"
Public Member Functions | |
ContainerBackSource (ThisContainer &) | |
ContainerBackSource & | operator= (ContainerBackSource) |
virtual bool | operator! () const |
virtual ThisItem & | operator* () const |
bool | Equals (ContainerBackSource const &) const |
virtual void | Pop () |
Pops the current item. More... | |
void | Swap (ContainerBackSource &) |
Public Member Functions inherited from Om::Source::DefaultSource< ThisItem, ContainerBackSource< ThisItem, ThisContainer > > | |
virtual | ~DefaultSource ()=0 |
ContainerBackSource< ThisItem, ThisContainer > & | operator++ () |
Pulls the next item from the Source. More... | |
ContainerBackSource< ThisItem, ThisContainer > | 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 (ContainerBackSource< ThisItem, ThisContainer > 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... | |
Private Attributes | |
ThisContainer & | thisContainer |
The container to pull from. 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... | |
Definition at line 36 of file container_back_source.hpp.
|
explicit |
ContainerBackSource& Om::Source::ContainerBackSource< ThisItem, ThisContainer >::operator= | ( | ContainerBackSource< ThisItem, ThisContainer > | ) |
|
virtual |
Implements Om::Source::Source< ThisItem >.
|
virtual |
Implements Om::Source::Source< ThisItem >.
bool Om::Source::ContainerBackSource< ThisItem, ThisContainer >::Equals | ( | ContainerBackSource< ThisItem, ThisContainer > const & | ) | const |
|
virtual |
Implements Om::Source::Source< ThisItem >.
void Om::Source::ContainerBackSource< ThisItem, ThisContainer >::Swap | ( | ContainerBackSource< ThisItem, ThisContainer > & | ) |
|
private |
Definition at line 75 of file container_back_source.hpp.