ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
string.cc File Reference
#include "util/string.h"
#include <algorithm>
#include <cstdarg>
#include <fstream>
#include <sstream>
#include <boost/algorithm/string.hpp>
Include dependency graph for string.cc:

Go to the source code of this file.

Namespaces

 colmap
 

Functions

std::string colmap::StringPrintf (const char *format,...)
 
std::string colmap::StringReplace (const std::string &str, const std::string &old_str, const std::string &new_str)
 
std::string colmap::StringGetAfter (const std::string &str, const std::string &key)
 
std::vector< std::string > colmap::StringSplit (const std::string &str, const std::string &delim)
 
bool colmap::StringStartsWith (const std::string &str, const std::string &prefix)
 
void colmap::StringLeftTrim (std::string *str)
 
void colmap::StringRightTrim (std::string *str)
 
void colmap::StringTrim (std::string *str)
 
void colmap::StringToLower (std::string *str)
 
void colmap::StringToUpper (std::string *str)
 
bool colmap::StringContains (const std::string &str, const std::string &sub_str)