commore  1.0.6-SNAPSHOT
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
commore::StringBuffer::Iterator Class Reference

#include <StringBuffer.h>

Public Member Functions

 Iterator (size_t t, int i, Page *p)
 
 Iterator (StringBuffer &sb)
 
bool more () const
 
char & current ()
 
size_t next ()
 
Iterator operator++ (int)
 
Iteratoroperator++ ()
 
char & operator* ()
 
bool operator== (const Iterator &i) const
 

Detailed Description

Character iterator

Member Function Documentation

char& commore::StringBuffer::Iterator::current ( )
inline
Returns
reference on current character
bool commore::StringBuffer::Iterator::more ( ) const
inline
Returns
false if iterator reach end of StringBuffer
size_t commore::StringBuffer::Iterator::next ( )
inline

Go to next character

Returns
current character position
char& commore::StringBuffer::Iterator::operator* ( )
inline
Returns
reference on current character
Iterator commore::StringBuffer::Iterator::operator++ ( int  )
inline

Go to next character

Returns
itertor on previous character
Iterator& commore::StringBuffer::Iterator::operator++ ( )
inline

Go to next character

Returns
itertor on current character
bool commore::StringBuffer::Iterator::operator== ( const Iterator i) const
inline
Returns
true if iterators reference same position

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