Typedefs |
typedef std::list< std::string > | string_list |
typedef string_list::iterator | string_list_it |
Functions |
std::string | strip (const std::string &str, const std::string &what="\t\0\n") |
| strips a string. More...
|
string_list | split (std::string line, std::string what) |
| splits a string, by ignoring what is between two pairs ("). More...
|
string_list | split_simple (std::string str, std::string seperator="\t\n", int max=-1) |
| splits a string. More...
|
string_list | split_string (std::string str, std::string seperator="", int max=-1) |
| splits a string by using a fixed seperator string. More...
|
template<class T> std::string | x2s (T what) |
| converts anything to a string. More...
|
std::string | substitude (std::string str, std::string what, std::string with) |
| substitudes. More...
|
std::string | substitude (std::string str, std::string what, std::string with, std::string ignore) |
std::string | macro_substitution (std::string text) |
| substitude function for html-macro parsing. More...
|
template<class T> T | s2x (const std::string &s) |
| convert a string to anything. More...
|
void | toupper (std::string &s) |
| converts a string to upper case. More...
|
bool | isnum (const std::string &s) |
| returns true if the string is a number. More...
|
std::strstream & | operator>> (std::strstream &in, bool &w) |
| reads a boolean value from a strstream. More...
|
std::stringstream & | operator>> (std::stringstream &in, bool &w) |
Variables |
bool | old_macro_style |
| new or old macro substitution ? More...
|