#include <string>
#include <iostream>
#include <vector>
#include "strutil.h"
Functions | |
void | tokenize (const string &str, const string &delimiters, vector< string > &tokens) |
string & | clean_type_name (string &arg) |
std::string | trim (const std::string myString, const string &delimiters) |
std::string | fix (const std::string userPath, const string &delimiters) |
int | testTrim () |
bool | endswith (const string &full, const string &ending) |
string& clean_type_name | ( | string & | arg | ) |
bool endswith | ( | const string & | full, | |
const string & | ending | |||
) |
std::string fix | ( | const std::string | myString, | |
const std::string & | delimiters = " \t\r\n" | |||
) |
int testTrim | ( | ) |
void tokenize | ( | const std::string & | str, | |
const std::string & | delimiters, | |||
std::vector< std::string > & | tokens | |||
) |
Splits given string into tokens
Referenced by ReadCell::addChannelMessage().
std::string trim | ( | const std::string | myString, | |
const std::string & | delimiters = " \t\r\n" | |||
) |
trims the leading and trailing white spaces
Referenced by chopLine(), findModelType(), fix(), innerLoadXplot(), Function::reinit(), Func::reinit(), and testTrim().