#include <string>
#include <sstream>
#include <cstdlib>
#include <vector>
#include "runtime_error.h"
Go to the source code of this file.
Namespaces | |
namespace | g2o |
Executes code, only if secs are gone since last exec. | |
Functions | |
template<typename T > | |
void | g2o::convertString (const std::string &s, T &x, bool failIfLeftoverChars=true) |
std::string | g2o::formatString (const char *fmt,...) |
template<typename OutputIterator > | |
OutputIterator | g2o::readFloats (const char *str, OutputIterator out) |
template<typename OutputIterator > | |
OutputIterator | g2o::readInts (const char *str, OutputIterator out) |
int | g2o::readLine (std::istream &is, std::stringstream ¤tLine) |
bool | g2o::strEndsWith (const std::string &s, const std::string &end) |
std::string | g2o::strExpandFilename (const std::string &filename) |
template<typename T > | |
T | g2o::stringToType (const std::string &s, bool failIfLeftoverChars=true) |
int | g2o::strPrintf (std::string &str, const char *fmt,...) |
std::vector< std::string > | g2o::strSplit (const std::string &str, const std::string &delimiters) |
bool | g2o::strStartsWith (const std::string &s, const std::string &start) |
std::string | g2o::strToLower (const std::string &s) |
std::string | g2o::strToUpper (const std::string &s) |
std::string | g2o::trim (const std::string &s) |
std::string | g2o::trimLeft (const std::string &s) |
std::string | g2o::trimRight (const std::string &s) |