g4tools  5.4.0
Namespaces | Macros | Functions
path File Reference
#include <string>
#include <sstream>
Include dependency graph for path:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tools
 inlined C code : ///////////////////////////////////
 

Macros

#define tools_path
 

Functions

void tools::suffix (const std::string &a_string, std::string &a_value, bool a_back=true)
 
void tools::nosuffix (const std::string &a_string, std::string &a_value, bool a_back=true)
 
void tools::path_no_suffix (const std::string &a_string, std::string &a_value)
 
bool tools::has_dir (const std::string &a_string)
 
void tools::base_name (const std::string &a_path, std::string &a_value)
 
std::string tools::suffix (const std::string &a_string, bool a_back=true)
 
std::string tools::nosuffix (const std::string &a_string, bool a_back=true)
 
std::string tools::base_name (const std::string &a_path)
 
bool tools::is_absolute_path (const std::string &a_path)
 
bool tools::path_name_suffix (const std::string &a_string, std::string &a_path, std::string &a_name, std::string &a_suffix)
 
std::string tools::dir_name (const std::string &a_path, unsigned int a_num=1)
 
void tools::quote (std::string &a_path)
 
bool tools::is_f77 (const std::string &a_path)
 
bool tools::is_cpp (const std::string &a_path)
 
bool tools::is_python (const std::string &a_path)
 
bool tools::url_parse (const std::string &a_url, std::string &a_host, unsigned int &a_port, std::string &a_path)
 

Macro Definition Documentation

◆ tools_path

#define tools_path

Definition at line 5 of file path.