Stride Reference Manual
1.0
|
Install directories. More...
#include <InstallDirs.h>
Static Public Member Functions | |
static boost::filesystem::path | getBinDir () |
Utility method: get path to bin directory. More... | |
static boost::filesystem::path | getCurrentDir () |
Utility method: get path to the current directory. More... | |
static boost::filesystem::path | getDataDir () |
Utility method: get path to the directory for data files. More... | |
static boost::filesystem::path | getExecPath () |
Utility method: get name of executable. More... | |
static boost::filesystem::path | getRootDir () |
Utility method: get application installation root directory. More... | |
static boost::filesystem::path | getOutputDir () |
Utility method: get the path to the output directory. More... | |
Static Private Member Functions | |
static void | check () |
Check initialization. More... | |
static void | initialize () |
Initialize all paths. More... | |
Static Private Attributes | |
static boost::filesystem::path | g_bin_dir |
static boost::filesystem::path | g_current_dir |
static boost::filesystem::path | g_data_dir |
static boost::filesystem::path | g_exec_path |
static boost::filesystem::path | g_root_dir |
static boost::filesystem::path | g_output_dir |
Install directories.
Definition at line 30 of file InstallDirs.h.
|
static |
Utility method: get path to bin directory.
Definition at line 142 of file InstallDirs.cpp.
|
static |
Utility method: get path to the current directory.
Definition at line 147 of file InstallDirs.cpp.
|
static |
Utility method: get path to the directory for data files.
Definition at line 152 of file InstallDirs.cpp.
Referenced by stride::PopulationBuilder::build(), stride::popgen::PopulationGenerator< U >::generate(), stride::SimulatorBuilder::initializeDistricts(), stride::Calendar::initializeHolidays(), stride::SimulatorBuilder::initializeLocations(), stride::popgen::FamilyParser::parseFamilies(), stride::popgen::PopulationGenerator< U >::PopulationGenerator(), stride::util::TravellerScheduleReader::readSchedule(), stride::popgen::PopulationGenerator< U >::writeCities(), stride::popgen::PopulationGenerator< U >::writeClusters(), stride::popgen::PopulationGenerator< U >::writeHouseholds(), and stride::popgen::PopulationGenerator< U >::writePop().
|
static |
Utility method: get name of executable.
Definition at line 157 of file InstallDirs.cpp.
|
static |
Utility method: get application installation root directory.
Definition at line 162 of file InstallDirs.cpp.
|
static |
Utility method: get the path to the output directory.
Definition at line 167 of file InstallDirs.cpp.
Referenced by stride::run::Runner::initSimulators(), and stride::run::Runner::Runner().
|
inlinestaticprivate |
Check initialization.
Definition at line 49 of file InstallDirs.cpp.
|
staticprivate |
Initialize all paths.
Definition at line 57 of file InstallDirs.cpp.
References stride::util::StringUtils::toLower().
|
staticprivate |
Definition at line 58 of file InstallDirs.h.
|
staticprivate |
Definition at line 59 of file InstallDirs.h.
|
staticprivate |
Definition at line 60 of file InstallDirs.h.
|
staticprivate |
Definition at line 61 of file InstallDirs.h.
|
staticprivate |
Definition at line 62 of file InstallDirs.h.
|
staticprivate |
Definition at line 63 of file InstallDirs.h.