34 #ifndef _ConfigurablePaths_H__ 35 #define _ConfigurablePaths_H__ 66 {
return getInstance().dataPath_; }
69 {
return getInstance().externalDataPath_; }
72 {
return getInstance().configPath_; }
75 {
return getInstance().logPath_; }
static const boost::filesystem::path & getConfigPath()
Returns the path to the config files as boost::filesystem::path.
Definition: ConfigurablePaths.h:71
The ApplicationPaths class is a singleton which provides static paths of the application.
Definition: ApplicationPaths.h:57
boost::filesystem::path & externalDataPath_
Path to the external data files folder.
Definition: ConfigurablePaths.h:100
Shared library macros, enums, constants and forward declarations for the core library ...
::std::string string
Definition: gtest-port.h:756
static const boost::filesystem::path & getExternalDataPath()
Returns the path to the external data files as boost::filesystem::path.
Definition: ConfigurablePaths.h:68
static const boost::filesystem::path & getDataPath()
Returns the path to the data files as boost::filesystem::path.
Definition: ConfigurablePaths.h:65
static ConfigurablePaths * singletonPtr_s
Static pointer to the singleton.
Definition: ConfigurablePaths.h:104
boost::filesystem::path & configPath_
Path to the config files folder.
Definition: ConfigurablePaths.h:101
Definition: CorePrereqs.h:316
static const boost::filesystem::path & getLogPath()
Returns the path to the log files as boost::filesystem::path.
Definition: ConfigurablePaths.h:74
Base for singleton classes.
Definition: Singleton.h:114
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
#define _CoreExport
Definition: CorePrereqs.h:61
The ConfigurablePaths class is a singleton used to configure different paths.
Definition: ConfigurablePaths.h:55
boost::filesystem::path & dataPath_
Path to the data files folder.
Definition: ConfigurablePaths.h:99
Definition of the Singleton template that is used as base class for classes that allow only one insta...
boost::filesystem::path & logPath_
Path to the log files folder.
Definition: ConfigurablePaths.h:102