NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Namespaces | |
detail | |
Classes | |
class | RuntimePathConfig |
This class holds information about the runtime path of different nes components. More... | |
Functions | |
bool | isInInstallDir () |
RuntimePathConfig | loadRuntimePathConfig () |
std::filesystem::path | getExecutablePath () |
Gets the path of the current executable. More... | |
std::filesystem::path | getPublicIncludes () |
Gets the path to the public includes. More... | |
std::filesystem::path | getLibPath (std::string libName) |
Gets the path to the nes lib. More... | |
std::filesystem::path | getClangPath () |
Gets the path to the nes clang executable. More... | |
bool | isInBuildDir () |
bool | isInBuildDirIsAvailable () |
bool | isInUNIXInstallDir () |
bool | isInLocalInstallDir () |
std::ostream & | operator<< (std::ostream &os, const RuntimePathConfig &config) |
Variables | |
std::string | UNIX_INSTALL_BIN_DIR = "/usr/local/bin" |
std::string | DEFAULT_PUBLIC_INCLUDE_DIR_UNIX_INSTALL = "/usr/local/include/nebulastream" |
std::string | DEFAULT_LIB_UNIX_INSTALL = "/usr/local/lib" |
std::string | DEFAULT_CLANG_PATH_UNIX_INSTALL = "/usr/local/bin/nes-clang" |
std::filesystem::path NES::Compiler::ExecutablePath::getClangPath | ( | ) |
Gets the path to the nes clang executable.
References getExecutablePath(), and NES_DEBUG.
std::filesystem::path NES::Compiler::ExecutablePath::getExecutablePath | ( | ) |
Gets the path of the current executable.
Referenced by getClangPath(), getPublicIncludes(), isInBuildDir(), isInLocalInstallDir(), isInUNIXInstallDir(), and loadRuntimePathConfig().
std::filesystem::path NES::Compiler::ExecutablePath::getLibPath | ( | std::string | libName | ) |
Gets the path to the nes lib.
std::filesystem::path NES::Compiler::ExecutablePath::getPublicIncludes | ( | ) |
Gets the path to the public includes.
References getExecutablePath(), NES_DEBUG, and NES::Compiler::ExecutablePath::detail::recursiveFindFileReverse().
bool NES::Compiler::ExecutablePath::isInBuildDir | ( | ) |
References getExecutablePath().
Referenced by loadRuntimePathConfig().
bool NES::Compiler::ExecutablePath::isInBuildDirIsAvailable | ( | ) |
bool NES::Compiler::ExecutablePath::isInInstallDir | ( | ) |
bool NES::Compiler::ExecutablePath::isInLocalInstallDir | ( | ) |
References getExecutablePath().
Referenced by loadRuntimePathConfig().
bool NES::Compiler::ExecutablePath::isInUNIXInstallDir | ( | ) |
References getExecutablePath(), and UNIX_INSTALL_BIN_DIR.
Referenced by loadRuntimePathConfig().
RuntimePathConfig NES::Compiler::ExecutablePath::loadRuntimePathConfig | ( | ) |
References DEFAULT_CLANG_PATH_UNIX_INSTALL, DEFAULT_LIB_UNIX_INSTALL, DEFAULT_PUBLIC_INCLUDE_DIR_UNIX_INSTALL, getExecutablePath(), isInBuildDir(), isInBuildDirIsAvailable(), isInLocalInstallDir(), isInUNIXInstallDir(), NES_DEBUG, and NES_INFO.
std::ostream& NES::Compiler::ExecutablePath::operator<< | ( | std::ostream & | os, |
const RuntimePathConfig & | config | ||
) |
std::string NES::Compiler::ExecutablePath::DEFAULT_CLANG_PATH_UNIX_INSTALL = "/usr/local/bin/nes-clang" |
Referenced by loadRuntimePathConfig().
std::string NES::Compiler::ExecutablePath::DEFAULT_LIB_UNIX_INSTALL = "/usr/local/lib" |
Referenced by loadRuntimePathConfig().
std::string NES::Compiler::ExecutablePath::DEFAULT_PUBLIC_INCLUDE_DIR_UNIX_INSTALL = "/usr/local/include/nebulastream" |
Referenced by loadRuntimePathConfig().
std::string NES::Compiler::ExecutablePath::UNIX_INSTALL_BIN_DIR = "/usr/local/bin" |
Referenced by isInUNIXInstallDir().