Om
|
A Source of CodePoint strings from the front of a string. More...
#include "code_point_string_front_source.hpp"
Public Member Functions | |
CodePointStringFrontSource (ThisStringIterator theStringStart, ThisStringIterator const theStringEnd) | |
CodePointStringFrontSource & | operator= (CodePointStringFrontSource) |
virtual bool | operator! () const |
virtual std::string & | operator* () const |
bool | Equals (CodePointStringFrontSource const &) const |
virtual void | Pop () |
Pops the current item. More... | |
void | Swap (CodePointStringFrontSource &) |
Public Member Functions inherited from Om::Source::DefaultSource< std::string, CodePointStringFrontSource< ThisStringIterator > > | |
virtual | ~DefaultSource ()=0 |
CodePointStringFrontSource< ThisStringIterator > & | operator++ () |
Pulls the next item from the Source. More... | |
CodePointStringFrontSource< ThisStringIterator > | 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< std::string > const &) const |
bool | Equals (CodePointStringFrontSource< ThisStringIterator > 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... | |
virtual bool | Equals (Source const &) const =0 |
Private Member Functions | |
void | Update () |
Populates the CodePoint string with each code unit of the next CodePoint. More... | |
Private Attributes | |
ThisStringIterator | thisStringIterator |
ThisStringIterator | thisStringEnd |
std::string | thisCodePoint |
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 43 of file code_point_string_front_source.hpp.
Om::Source::CodePointStringFrontSource< ThisStringIterator >::CodePointStringFrontSource | ( | ThisStringIterator | theStringStart, |
ThisStringIterator const | theStringEnd | ||
) |
theStringStart | The string start. |
theStringEnd | The string end. |
CodePointStringFrontSource& Om::Source::CodePointStringFrontSource< ThisStringIterator >::operator= | ( | CodePointStringFrontSource< ThisStringIterator > | ) |
|
virtual |
Implements Om::Source::Source< ThisItem >.
|
virtual |
Implements Om::Source::Source< ThisItem >.
bool Om::Source::CodePointStringFrontSource< ThisStringIterator >::Equals | ( | CodePointStringFrontSource< ThisStringIterator > const & | ) | const |
|
virtual |
Implements Om::Source::Source< ThisItem >.
void Om::Source::CodePointStringFrontSource< ThisStringIterator >::Swap | ( | CodePointStringFrontSource< ThisStringIterator > & | ) |
|
private |
|
private |
Definition at line 87 of file code_point_string_front_source.hpp.
|
private |
Definition at line 89 of file code_point_string_front_source.hpp.
|
mutableprivate |
The current CodePoint string; empty if invalid.
Definition at line 94 of file code_point_string_front_source.hpp.