Functions
string_tools.h File Reference
#include <string>
#include <sstream>
#include <cstdlib>
#include <vector>
#include "runtime_error.h"
Include dependency graph for include/hogman_minimal/stuff/string_tools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
std::string int void convertString (const std::string &s, T &x, bool failIfLeftoverChars=true)
std::string formatString (const char *fmt,...) __attribute__((format(printf
template<typename OutputIterator >
OutputIterator readFloats (const char *str, OutputIterator out)
template<typename OutputIterator >
OutputIterator readInts (const char *str, OutputIterator out)
bool strEndsWith (const std::string &str, const std::string &substr)
std::string strExpandFilename (const std::string &filename)
template<typename T >
stringToType (const std::string &s, bool failIfLeftoverChars=true)
std::string int strPrintf (std::string &str, const char *fmt,...) __attribute__((format(printf
std::vector< std::string > strSplit (const std::string &s, const std::string &delim)
bool strStartsWith (const std::string &str, const std::string &substr)
std::string strToLower (const std::string &s)
std::string strToUpper (const std::string &s)
std::string trim (const std::string &s)
std::string trimLeft (const std::string &s)
std::string trimRight (const std::string &s)


hogman_minimal
Author(s): Maintained by Juergen Sturm
autogenerated on Mon Oct 6 2014 00:06:59