Iterates over the character data associated with a TextProvider. More...
#include <TextProvider.h>
Public Member Functions | |
TextIterator (const TextIterator &ti) | |
TextIterator & | operator= (const TextIterator &ti) |
bool | operator== (const TextIterator &ti) const |
bool | operator!= (const TextIterator &ti) const |
TextIterator & | operator++ () |
TextIterator | operator++ (int) |
TextIterator & | operator-- () |
TextIterator | operator-- (int) |
unsigned | operator* () const |
const char * | operator& () const |
Friends | |
class | TextProvider |
Iterates over the character data associated with a TextProvider.
Iteration over a character buffer can be accomplished efficiently using nothing more than a pointer to char. However, in the future, we may which to accommodate Unicode source files which require more sophisticated mechanisms to access the character data. Currently this class can be, in principle, optimized down to a simple pointer to char, but may evolve in time to perform a more elaborate service.
Definition at line 29 of file TextProvider.h.
comma::TextIterator::TextIterator | ( | const TextIterator & | ti | ) | [inline] |
Definition at line 32 of file TextProvider.h.
bool comma::TextIterator::operator!= | ( | const TextIterator & | ti | ) | const [inline] |
Definition at line 45 of file TextProvider.h.
const char* comma::TextIterator::operator& | ( | ) | const [inline] |
Definition at line 75 of file TextProvider.h.
unsigned comma::TextIterator::operator* | ( | ) | const [inline] |
Definition at line 71 of file TextProvider.h.
TextIterator comma::TextIterator::operator++ | ( | int | ) | [inline] |
Definition at line 54 of file TextProvider.h.
TextIterator& comma::TextIterator::operator++ | ( | ) | [inline] |
Definition at line 49 of file TextProvider.h.
TextIterator comma::TextIterator::operator-- | ( | int | ) | [inline] |
Definition at line 65 of file TextProvider.h.
TextIterator& comma::TextIterator::operator-- | ( | ) | [inline] |
Definition at line 60 of file TextProvider.h.
TextIterator& comma::TextIterator::operator= | ( | const TextIterator & | ti | ) | [inline] |
Definition at line 36 of file TextProvider.h.
bool comma::TextIterator::operator== | ( | const TextIterator & | ti | ) | const [inline] |
Definition at line 41 of file TextProvider.h.
friend class TextProvider [friend] |
Definition at line 80 of file TextProvider.h.