#include <ddcString.h>
|
const std::string * | srcp |
| source string (reference) More...
|
|
const std::string * | delimp |
| delimiter characters (reference) More...
|
|
size_t | begi |
| start position of current token (string::npos after initilization) More...
|
|
size_t | endi |
| end position of current token More...
|
|
pseudo-replacement for StringTokenizer (from utilit.h) which allows empty tokens see also stringSplitE() from utilit.cpp
◆ StringSplitter()
StringSplitter::StringSplitter |
( |
const std::string & |
src, |
|
|
const std::string & |
delims |
|
) |
| |
|
inline |
constructor; positions at first available token
◆ begin()
void StringSplitter::begin |
( |
| ) |
|
|
inline |
position iterators to first token
◆ valid()
bool StringSplitter::valid |
( |
void |
| ) |
const |
|
inline |
returns true iff the iterators point to a valid token
◆ operator bool()
StringSplitter::operator bool |
( |
| ) |
const |
|
inline |
◆ current()
std::string StringSplitter::current |
( |
| ) |
const |
|
inline |
get current token substring - should only be called if valid() is true
◆ operator*()
std::string StringSplitter::operator* |
( |
| ) |
const |
|
inline |
◆ next()
void StringSplitter::next |
( |
| ) |
|
|
inline |
increment to next available token
◆ operator++()
◆ srcp
const std::string* StringSplitter::srcp |
source string (reference)
◆ delimp
const std::string* StringSplitter::delimp |
delimiter characters (reference)
◆ begi
size_t StringSplitter::begi |
start position of current token (string::npos after initilization)
◆ endi
size_t StringSplitter::endi |
end position of current token
The documentation for this class was generated from the following file: