|
a/src/utils/smallut.h |
|
b/src/utils/smallut.h |
|
... |
|
... |
98 |
extern void stringsToString(const set<string> &tokens, string &s);
|
98 |
extern void stringsToString(const set<string> &tokens, string &s);
|
99 |
|
99 |
|
100 |
/**
|
100 |
/**
|
101 |
* Split input string. No handling of quoting
|
101 |
* Split input string. No handling of quoting
|
102 |
*/
|
102 |
*/
|
103 |
extern void stringToTokens(const string &s, list<string> &tokens,
|
103 |
extern void stringToTokens(const string &s, vector<string> &tokens,
|
104 |
const string &delims = " \t", bool skipinit=true);
|
104 |
const string &delims = " \t", bool skipinit=true);
|
105 |
|
105 |
|
106 |
/** Convert string to boolean */
|
106 |
/** Convert string to boolean */
|
107 |
extern bool stringToBool(const string &s);
|
107 |
extern bool stringToBool(const string &s);
|
108 |
|
108 |
|