Om
|
A Source of CodePoint strings from the back of a string. More...
#include "code_point_string_back_source.hpp"
Public Member Functions | |
CodePointStringBackSource (ThisStringIterator theStringStart, ThisStringIterator const theStringEnd) | |
CodePointStringBackSource & | operator= (CodePointStringBackSource) |
virtual bool | operator! () const |
virtual std::string & | operator* () const |
bool | Equals (CodePointStringBackSource const &) const |
virtual void | Pop () |
Pops the current item. More... | |
void | Swap (CodePointStringBackSource &) |
Public Member Functions inherited from Om::Source::DefaultSource< std::string, CodePointStringBackSource< ThisStringIterator > > | |
virtual | ~DefaultSource ()=0 |
CodePointStringBackSource< ThisStringIterator > & | operator++ () |
Pulls the next item from the Source. More... | |
CodePointStringBackSource< 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 (CodePointStringBackSource< 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 | thisCodePointIterator |
The current CodePoint string iterator. More... | |
ThisStringIterator | thisCodePointEnd |
The current CodePoint string end. More... | |
std::string | thisCodePoint |
The current CodePoint string. 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 43 of file code_point_string_back_source.hpp.
Om::Source::CodePointStringBackSource< ThisStringIterator >::CodePointStringBackSource | ( | ThisStringIterator | theStringStart, |
ThisStringIterator const | theStringEnd | ||
) |
theStringStart | The string start. |
theStringEnd | The string end. |
CodePointStringBackSource& Om::Source::CodePointStringBackSource< ThisStringIterator >::operator= | ( | CodePointStringBackSource< ThisStringIterator > | ) |
|
virtual |
Implements Om::Source::Source< ThisItem >.
|
virtual |
Implements Om::Source::Source< ThisItem >.
bool Om::Source::CodePointStringBackSource< ThisStringIterator >::Equals | ( | CodePointStringBackSource< ThisStringIterator > const & | ) | const |
|
virtual |
Implements Om::Source::Source< ThisItem >.
void Om::Source::CodePointStringBackSource< ThisStringIterator >::Swap | ( | CodePointStringBackSource< ThisStringIterator > & | ) |
|
private |
|
private |
Definition at line 87 of file code_point_string_back_source.hpp.
|
private |
Definition at line 93 of file code_point_string_back_source.hpp.
|
private |
Definition at line 99 of file code_point_string_back_source.hpp.
|
mutableprivate |
Definition at line 105 of file code_point_string_back_source.hpp.