Functions |
stringList & | StochHMM::splitString (const std::string &txt, const std::string &delimiters) |
| Splits string using delimiters and return stringList.
|
void | StochHMM::clear_whitespace (std::string &input, std::string white) |
void | StochHMM::replaceChar (std::string &txt, char ch, char replaceCh) |
void | StochHMM::removeLeadingWS (std::string &txt, const std::string &ws) |
std::string | StochHMM::parseComment (std::string &txt, char commentChar) |
| Find first comment character and then return everything following the character.
|
void | StochHMM::getKeyValue (std::string &txt, std::string &key, std::string &value) |
std::string | StochHMM::join (std::vector< int > &input, char c) |
std::string | StochHMM::join (std::vector< size_t > &input, char c) |
std::string | StochHMM::join (std::vector< short > &input, char c) |
std::string | StochHMM::join (std::vector< double > &input, char c) |
std::string | StochHMM::join (std::vector< std::string > &input, char c) |
std::string | StochHMM::int_to_string (int input) |
std::string | StochHMM::int_to_string (size_t input) |
std::string | StochHMM::double_to_string (double input) |
std::string | StochHMM::double_to_string (float input) |
bool | StochHMM::stringToInt (std::string &txt, int &val) |
bool | StochHMM::stringToInt (std::string &txt, size_t &val) |
bool | StochHMM::stringToDouble (std::string &txt, double &val) |
bool | StochHMM::isNumeric (const std::string &str) |
void | StochHMM::split_line (std::vector< std::string > &line, std::string &input) |
stringList | StochHMM::extractTag (std::string &txt) |
std::pair< size_t, size_t > | StochHMM::balanced_brackets (const std::string &text, const std::string &brackets) |
std::pair< size_t, size_t > | StochHMM::balanced_brackets (const std::string &text, const std::string &brackets, size_t offset) |
std::string | StochHMM::slurpFile (std::string &file) |