89 |
|
* @note this is still a little bit java like implementation. Pure c++ one should use TokenIterator. |
90 |
|
* Boost's tokenizer class is one of them |
91 |
|
*/ |
92 |
< |
StringTokenizer(std::string::const_iterator& first, std::string::const_iterator& last, |
92 |
> |
StringTokenizer(std::string::const_iterator& first, |
93 |
> |
std::string::const_iterator& last, |
94 |
|
const std::string & delim = " ;\t\n\r"); |
95 |
|
|
96 |
|
/** |
181 |
|
* @return all of the tokens |
182 |
|
*/ |
183 |
|
std::vector<std::string> getAllTokens(); |
184 |
+ |
/** |
185 |
+ |
* Returns the remaining unparsed string |
186 |
+ |
* @return the remaining unparsed string |
187 |
+ |
*/ |
188 |
+ |
std::string getRemainingString(); |
189 |
|
private: |
190 |
|
|
191 |
|
/** |