Stride Reference Manual  1.0
stride::util::InstallDirs Class Reference

Install directories. More...

#include <InstallDirs.h>

Collaboration diagram for stride::util::InstallDirs:
Collaboration graph

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
 

Detailed Description

Install directories.

Definition at line 30 of file InstallDirs.h.

Member Function Documentation

path stride::util::InstallDirs::getBinDir ( )
static

Utility method: get path to bin directory.

Definition at line 142 of file InstallDirs.cpp.

path stride::util::InstallDirs::getCurrentDir ( )
static

Utility method: get path to the current directory.

Definition at line 147 of file InstallDirs.cpp.

path stride::util::InstallDirs::getExecPath ( )
static

Utility method: get name of executable.

Definition at line 157 of file InstallDirs.cpp.

path stride::util::InstallDirs::getRootDir ( )
static

Utility method: get application installation root directory.

Definition at line 162 of file InstallDirs.cpp.

path stride::util::InstallDirs::getOutputDir ( )
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().

void stride::util::InstallDirs::check ( )
inlinestaticprivate

Check initialization.

Definition at line 49 of file InstallDirs.cpp.

void stride::util::InstallDirs::initialize ( )
staticprivate

Initialize all paths.

Definition at line 57 of file InstallDirs.cpp.

References stride::util::StringUtils::toLower().

Member Data Documentation

path stride::util::InstallDirs::g_bin_dir
staticprivate

Definition at line 58 of file InstallDirs.h.

path stride::util::InstallDirs::g_current_dir
staticprivate

Definition at line 59 of file InstallDirs.h.

path stride::util::InstallDirs::g_data_dir
staticprivate

Definition at line 60 of file InstallDirs.h.

path stride::util::InstallDirs::g_exec_path
staticprivate

Definition at line 61 of file InstallDirs.h.

path stride::util::InstallDirs::g_root_dir
staticprivate

Definition at line 62 of file InstallDirs.h.

path stride::util::InstallDirs::g_output_dir
staticprivate

Definition at line 63 of file InstallDirs.h.


The documentation for this class was generated from the following files: