Om
|
#include "empty_source.hpp"
Public Member Functions | |
EmptySource () | |
EmptySource & | operator= (EmptySource) |
virtual bool | operator! () const |
virtual ThisItem & | operator* () const |
bool | Equals (EmptySource const &) const |
virtual void | Pop () |
Pops the current item. More... | |
void | Swap (EmptySource &) |
Public Member Functions inherited from Om::Source::DefaultSource< ThisItem, EmptySource< ThisItem > > | |
virtual | ~DefaultSource ()=0 |
EmptySource< ThisItem > & | operator++ () |
Pulls the next item from the Source. More... | |
EmptySource< ThisItem > | 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 (EmptySource< ThisItem > 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... | |
Static Public Member Functions | |
static EmptySource & | Get () |
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 33 of file empty_source.hpp.
Om::Source::EmptySource< ThisItem >::EmptySource | ( | ) |
|
static |
EmptySource& Om::Source::EmptySource< ThisItem >::operator= | ( | EmptySource< ThisItem > | ) |
|
virtual |
Implements Om::Source::Source< ThisItem >.
|
virtual |
Implements Om::Source::Source< ThisItem >.
bool Om::Source::EmptySource< ThisItem >::Equals | ( | EmptySource< ThisItem > const & | ) | const |
|
virtual |
Implements Om::Source::Source< ThisItem >.
void Om::Source::EmptySource< ThisItem >::Swap | ( | EmptySource< ThisItem > & | ) |