Functions | |
bool | CanConvertEnvValueToBool (const std::string &value) |
bool | ConvertEnvValueToBool (const std::string &value) |
void | ConvertToUnixPath (std::string &Path) |
Transforms a file path by replacing its backslashes with slashes. | |
std::string | GetCurrentDir () |
const char & | GetEnvPathSeparator () |
const std::string & | GetEtcDir () |
const std::string & | GetFallbackRootSys () |
const std::string & | GetIncludeDir () |
\ returns the include directory in the installation. | |
const std::string & | GetPathSeparator () |
const std::string & | GetRootSys () |
std::string | MakePathRelative (const std::string &path, const std::string &base, bool isBuildingROOT=false) |
static std::string | str_tolower (std::string s) |
bool ROOT::FoundationUtils::CanConvertEnvValueToBool | ( | const std::string & | value | ) |
value
is 1, on, true, 0, off, false Definition at line 214 of file FoundationUtils.cxx.
bool ROOT::FoundationUtils::ConvertEnvValueToBool | ( | const std::string & | value | ) |
Definition at line 224 of file FoundationUtils.cxx.
void ROOT::FoundationUtils::ConvertToUnixPath | ( | std::string & | Path | ) |
Transforms a file path by replacing its backslashes with slashes.
Definition at line 107 of file FoundationUtils.cxx.
std::string ROOT::FoundationUtils::GetCurrentDir | ( | ) |
Definition at line 47 of file FoundationUtils.cxx.
|
inline |
Definition at line 54 of file FoundationUtils.hxx.
const std::string & ROOT::FoundationUtils::GetEtcDir | ( | ) |
Definition at line 195 of file FoundationUtils.cxx.
const std::string & ROOT::FoundationUtils::GetFallbackRootSys | ( | ) |
Definition at line 111 of file FoundationUtils.cxx.
const std::string & ROOT::FoundationUtils::GetIncludeDir | ( | ) |
\ returns the include directory in the installation.
Definition at line 180 of file FoundationUtils.cxx.
|
inline |
Definition at line 43 of file FoundationUtils.hxx.
const std::string & ROOT::FoundationUtils::GetRootSys | ( | ) |
Definition at line 158 of file FoundationUtils.cxx.
std::string ROOT::FoundationUtils::MakePathRelative | ( | const std::string & | path, |
const std::string & | base, | ||
bool | isBuildingROOT = false |
||
) |
path
with respect to base
. For instance, for path being "/a/b/c/d" and base "/a/b", returns "c/d".path | - the input path |
base | - the base path to be removed from path . |
isBuildingROOT | - if true, it converts module directories such as core/base/inc/ to include/ |
Definition at line 82 of file FoundationUtils.cxx.
|
static |
Definition at line 208 of file FoundationUtils.cxx.