comma::TextIterator Class Reference

Iterates over the character data associated with a TextProvider. More...

#include <TextProvider.h>

List of all members.

Public Member Functions

 TextIterator (const TextIterator &ti)
TextIteratoroperator= (const TextIterator &ti)
bool operator== (const TextIterator &ti) const
bool operator!= (const TextIterator &ti) const
TextIteratoroperator++ ()
TextIterator operator++ (int)
TextIteratoroperator-- ()
TextIterator operator-- (int)
unsigned operator* () const
const char * operator& () const

Friends

class TextProvider

Detailed Description

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.


Constructor & Destructor Documentation

comma::TextIterator::TextIterator ( const TextIterator ti  )  [inline]

Definition at line 32 of file TextProvider.h.


Member Function Documentation

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.


Friends And Related Function Documentation

friend class TextProvider [friend]

Definition at line 80 of file TextProvider.h.


The documentation for this class was generated from the following file:

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1