Input iterator on a constant string returning null characters after EOF as required by textwolf scanners.
More...
#include <cstringiterator.hpp>
Input iterator on a constant string returning null characters after EOF as required by textwolf scanners.
textwolf::CStringIterator::CStringIterator |
( |
| ) |
|
|
inline |
textwolf::CStringIterator::CStringIterator |
( |
const char * |
src, |
|
|
unsigned int |
size |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | src | null terminated C string to iterate on |
[in] | size | number of bytes in the string to iterate on |
textwolf::CStringIterator::CStringIterator |
( |
const char * |
src | ) |
|
|
inline |
Constructor.
- Parameters
-
[in] | src | string to iterate on |
textwolf::CStringIterator::CStringIterator |
( |
const std::string & |
src | ) |
|
|
inline |
Constructor.
- Parameters
-
[in] | src | string to iterate on |
Copy constructor.
- Parameters
-
char textwolf::CStringIterator::operator* |
( |
| ) |
|
|
inline |
Element access.
- Returns
- current character
int textwolf::CStringIterator::operator- |
( |
const CStringIterator & |
o | ) |
const |
|
inline |
unsigned int textwolf::CStringIterator::pos |
( |
| ) |
const |
|
inline |
Return current char position.
void textwolf::CStringIterator::pos |
( |
unsigned int |
i | ) |
|
|
inline |
Set current char position.
The documentation for this class was generated from the following file: