Public Types | |
| typedef T::value_type | CHAR |
Public Member Functions | |
| T::size_type | end () const |
| Returns index of the ending character of current sequence. | |
| bool | match (CHAR c) const |
| Checks if specified character is in set of characters to find sequences with. | |
| bool | next () |
| Go to next sequence of enumeration. | |
| T::size_type | start () const |
| Returns index of the starting character of current sequence. | |
| T | str () const |
| Returns current sequence. | |
| StringIterator (const T &str, const T &chars) | |
| The constructor. | |
| StringIterator< T >::StringIterator | ( | const T & | str, | |
| const T & | chars | |||
| ) | [inline] |
| [in] | str | The string to look through |
| [in] | chars | The set of characters to extract substrings with |
| T::size_type StringIterator< T >::end | ( | ) | const [inline] |
Use this method to get index of ending character of the current sequence.
| bool StringIterator< T >::match | ( | CHAR | c | ) | const [inline] |
Use this method to check, if specified character can be included in sequences to return.
| [in] | c | The character to check |
| bool StringIterator< T >::next | ( | ) | [inline] |
This method allows enumeration over all sequences of specified string. Just call it until it is returned false.
| T::size_type StringIterator< T >::start | ( | ) | const [inline] |
Use this method to get index of starting character of the current sequence.
| T StringIterator< T >::str | ( | ) | const [inline] |
Use this method to get value of the sequence iterator is points to.
1.5.9