g2o
Namespaces | Functions
string_tools.cpp File Reference
#include "string_tools.h"
#include "os_specific.h"
#include "macros.h"
#include <cctype>
#include <string>
#include <cstdarg>
#include <cstring>
#include <algorithm>
#include <cstdio>
#include <iostream>
#include <iterator>
Include dependency graph for string_tools.cpp:

Go to the source code of this file.

Namespaces

 g2o
 

Functions

std::string g2o::trim (const std::string &s)
 
std::string g2o::trimLeft (const std::string &s)
 
std::string g2o::trimRight (const std::string &s)
 
std::string g2o::strToLower (const std::string &s)
 
std::string g2o::strToUpper (const std::string &s)
 
std::string g2o::formatString (const char *fmt,...)
 
int g2o::strPrintf (std::string &str, const char *fmt,...)
 
std::string g2o::strExpandFilename (const std::string &filename)
 
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)
 
bool g2o::strEndsWith (const std::string &s, const std::string &end)
 
int g2o::readLine (std::istream &is, std::stringstream &currentLine)