20 #include <boost/filesystem/convenience.hpp>
43 char buffer[FILENAME_MAX];
44 ssize_t count = readlink(argv0, buffer,
sizeof(buffer));
DirectoryTree(const char *argv0)
Mandatory constructor.
Header for the DirectoryTree class.
static boost::filesystem::path sWorkingPath
Absolute path to the working directory.
boost::filesystem::path path
const std::string cTorcNameConst("torc")
Name of the torc directory.
static boost::filesystem::path sExecutablePath
Absolute path to the executable directory.
static boost::filesystem::path sLogPath
Absolute path to the log files directory.
static boost::filesystem::path sRelativePath
Relative path from the working directory to the executable home.
const std::string cDevicesNameConst("devices")
Name of the devices directory.
static boost::filesystem::path sDevicesPath
Absolute path to the family and device database directory.