Jpp
|
Auxiliary methods for handling file names, type names and environment. More...
Go to the source code of this file.
Namespaces | |
JEEP | |
General puprpose classes and methods. | |
JPP | |
Functions | |
std::string | JEEP::strip (const std::string &file_name) |
Strip leading and trailing white spaces from file name. More... | |
std::string | JEEP::getFilenameExtension (const std::string &file_name) |
Get file name extension, i.e. More... | |
std::string | JEEP::getFilename (const std::string &file_name) |
Get file name part, i.e. More... | |
std::string | JEEP::getPath (const std::string &file_name) |
Get path, i.e. More... | |
std::string | JEEP::getFilename (const std::string &path, const std::string &file_name) |
Compose full file name and introduce JEEP::PATHNAME_SEPARATOR if needed. More... | |
std::string | JEEP::getPath (const std::string &variable, const std::string &file_name) |
Get selected path from environment variable for given file name. More... | |
std::string | JEEP::getFullFilename (const std::string &variable, const std::string &file_name) |
Get full file name (see JEEP::getPath). More... | |
std::string | JEEP::getNamespace (const std::string &type_name) |
Get name space, i.e. More... | |
std::string | JEEP::getClassname (const std::string &type_name) |
Get type name, i.e. More... | |
std::string | JEEP::getProtocol (const std::string &file_name) |
Get protocol, i.e. More... | |
template<class T > | |
T * | JEEP::open (const std::string &file_name) |
Open file. More... | |
template<> | |
std::istream * | JEEP::open (const std::string &file_name) |
Open file. More... | |
template<> | |
std::ostream * | JEEP::open (const std::string &file_name) |
Open file. More... | |
void | JEEP::close (std::istream *pf) |
Close file. More... | |
void | JEEP::close (std::ostream *pf) |
Close file. More... | |
Variables | |
static const char *const | JEEP::LD_LIBRARY_PATH = "LD_LIBRARY_PATH" |
Nick names of environment variables. More... | |
static const char *const | JEEP::PATH = "PATH" |
binary file paths More... | |
static const char *const | JEEP::SHELL = "SHELL" |
SHELL. More... | |
static const char | JEEP::PATHNAME_SEPARATOR = '/' |
path name separator More... | |
static const char | JEEP::PATHLIST_SEPARATOR = ':' |
path list separator More... | |
static const char | JEEP::FILENAME_SEPARATOR = '.' |
file name separator More... | |
static const char *const | JEEP::TYPENAME_SEPARATOR = "::" |
type name separator More... | |
static const char | JEEP::PROTOCOL_SEPARATOR = ':' |
protocol separator More... | |
Auxiliary methods for handling file names, type names and environment.
Definition in file JeepToolkit.hh.