Om
|
A CodePoint Source that reads each code unit from the iterator. More...
#include "code_point_source.hpp"
Public Member Functions | |
CodePointSource (ThisCodeUnitIterator theInputStart, ThisCodeUnitIterator const theInputEnd) | |
CodePointSource & | operator= (CodePointSource) |
virtual bool | operator! () const |
virtual CodePoint const & | operator* () const |
bool | Equals (CodePointSource const &) const |
virtual void | Pop () |
Pops the current item. More... | |
void | Swap (CodePointSource &) |
Public Member Functions inherited from Om::Source::DefaultSource< CodePoint const, CodePointSource< char const * > > | |
virtual | ~DefaultSource ()=0 |
CodePointSource< char const * > & | operator++ () |
Pulls the next item from the Source. More... | |
CodePointSource< char const * > | 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< CodePoint const > const &) const |
bool | Equals (CodePointSource< char const * > const &) const |
Public Member Functions inherited from Om::Source::Source< CodePoint const > | |
virtual | ~Source ()=0 |
CodePoint const * | operator-> () const |
operator Boolean () const | |
Implements the Safe Boolean idiom. More... | |
virtual bool | Equals (Source const &) const=0 |
Private Attributes | |
ThisCodeUnitIterator | thisInputIterator |
The input code unit start iterator. More... | |
ThisCodeUnitIterator | thisInputEnd |
The input code unit end iterator. More... | |
CodePoint | thisCodePoint |
The current Om::CodePoint. More... | |
Additional Inherited Members | |
Public Types inherited from Om::Source::Source< CodePoint const > | |
typedef void(Source::* | Boolean) () const |
The implementation of the Safe Boolean idiom. More... | |
Definition at line 34 of file code_point_source.hpp.
Om::Source::CodePointSource< ThisCodeUnitIterator >::CodePointSource | ( | ThisCodeUnitIterator | theInputStart, |
ThisCodeUnitIterator const | theInputEnd | ||
) |
theInputStart | The input code unit start iterator. |
theInputEnd | The input code unit end iterator. |
CodePointSource& Om::Source::CodePointSource< ThisCodeUnitIterator >::operator= | ( | CodePointSource< ThisCodeUnitIterator > | ) |
|
virtual |
Implements Om::Source::Source< CodePoint const >.
|
virtual |
Implements Om::Source::Source< CodePoint const >.
bool Om::Source::CodePointSource< ThisCodeUnitIterator >::Equals | ( | CodePointSource< ThisCodeUnitIterator > const & | ) | const |
|
virtual |
Implements Om::Source::Source< CodePoint const >.
void Om::Source::CodePointSource< ThisCodeUnitIterator >::Swap | ( | CodePointSource< ThisCodeUnitIterator > & | ) |
|
private |
Definition at line 76 of file code_point_source.hpp.
|
private |
Definition at line 82 of file code_point_source.hpp.
|
private |
Definition at line 88 of file code_point_source.hpp.