cpplocate  1.0.0.a8d87a94e3ab
C++ Locator Library
Namespaces | Functions
utils.h File Reference
#include <string>
#include <vector>
#include <cpplocate/cpplocate_api.h>

Go to the source code of this file.

Namespaces

 cpplocate
 
 cpplocate::utils
 

Functions

CPPLOCATE_API void cpplocate::utils::replace (std::string &str, const std::string &original, const std::string &substitute)
 
CPPLOCATE_API void cpplocate::utils::trim (std::string &str)
 
CPPLOCATE_API std::string cpplocate::utils::trimPath (const std::string &str)
 
CPPLOCATE_API std::string cpplocate::utils::trimPath (std::string &&str)
 
CPPLOCATE_API std::string cpplocate::utils::unifiedPath (const std::string &path)
 
CPPLOCATE_API std::string cpplocate::utils::unifiedPath (std::string &&path)
 
CPPLOCATE_API std::string cpplocate::utils::getDirectoryPath (const std::string &fullpath)
 
CPPLOCATE_API size_t cpplocate::utils::posAfterString (const std::string &str, const std::string &substr)
 
CPPLOCATE_API std::string cpplocate::utils::getSystemBasePath (const std::string &path)
 
CPPLOCATE_API void cpplocate::utils::split (const std::string &str, char delim, std::vector< std::string > &values)
 
CPPLOCATE_API std::string cpplocate::utils::join (const std::vector< std::string > &values, const std::string &delim)
 
CPPLOCATE_API void cpplocate::utils::getPaths (const std::string &str, std::vector< std::string > &values)
 
CPPLOCATE_API std::string cpplocate::utils::getEnv (const std::string &name)
 
CPPLOCATE_API bool cpplocate::utils::fileExists (const std::string &path)
 
CPPLOCATE_API bool cpplocate::utils::loadModule (const std::string &directory, const std::string &name, ModuleInfo &info)