General Purpose Geodetic Library
|
#include <VmSetup.h>
Public Member Functions | |
VmSetup () | |
virtual | ~VmSetup () |
const QString & | getPath2Home () const |
const QString & | getPath2VgosDbFiles () const |
const QString & | getPath2InputFiles () const |
const QString & | getPath2MasterFiles () const |
const QString & | getPath2AuxLogs () const |
bool | getHave2SavePerSessionLog () const |
bool | getUseLocalLocale () const |
const SgIdentities & | getIdentities () const |
SgIdentities & | identities () |
void | setPath2Home (const QString &) |
void | setPath2VgosDbFiles (const QString &) |
void | setPath2InputFiles (const QString &) |
void | setPath2MasterFiles (const QString &) |
void | setPath2AuxLogs (const QString &) |
void | setHave2SavePerSessionLog (bool) |
void | setUseLocalLocale (bool use) |
void | setIdentities (const SgIdentities &) |
QString | className () const |
void | setUpBinaryIdentities (const QString &) |
QString | path2 (const QString &) const |
void | print2stdOut () |
Private Attributes | |
QString | path2Home_ |
QString | path2VgosDbFiles_ |
QString | path2InputFiles_ |
QString | path2MasterFiles_ |
QString | path2AuxLogs_ |
bool | have2SavePerSessionLog_ |
bool | useLocalLocale_ |
SgIdentities | identities_ |
====================================================================================================
VmSetup::VmSetup | ( | ) |
A constructor.
Definition at line 46 of file VmSetup.cpp.
References have2SavePerSessionLog_, and useLocalLocale_.
|
virtual |
A destructor. Frees allocated memory.
Definition at line 62 of file VmSetup.cpp.
|
inline |
Returns true if the software have to save an auxiliary log.
Definition at line 230 of file VmSetup.h.
References have2SavePerSessionLog_.
Referenced by loadSettings(), main(), and saveSettings().
|
inline |
Returns identities of user, analysis center, computer, etc.
Definition at line 238 of file VmSetup.h.
References identities_.
|
inline |
Returns a path to auxiliary logs.
Definition at line 222 of file VmSetup.h.
References path2AuxLogs_.
Referenced by loadSettings(), main(), and saveSettings().
|
inline |
Returns a path to nuSolve's home.
Definition at line 190 of file VmSetup.h.
References path2Home_.
Referenced by loadSettings(), and saveSettings().
|
inline |
Returns a default path to input files.
Definition at line 206 of file VmSetup.h.
References path2InputFiles_.
Referenced by loadSettings(), main(), and saveSettings().
|
inline |
Returns a path to masterfiles.
Definition at line 214 of file VmSetup.h.
References path2MasterFiles_.
Referenced by loadSettings(), main(), and saveSettings().
|
inline |
Returns a path to vgosDb files (observations).
Definition at line 198 of file VmSetup.h.
References path2VgosDbFiles_.
Referenced by loadSettings(), main(), and saveSettings().
|
inline |
Returns true if the software should not alter locale set up.
Definition at line 91 of file VmSetup.h.
References useLocalLocale_.
Referenced by loadSettings(), main(), and saveSettings().
|
inline |
Returns a reference on identities.
Definition at line 246 of file VmSetup.h.
References identities_.
Referenced by loadSettings(), main(), and saveSettings().
|
inline |
void VmSetup::print2stdOut | ( | ) |
Definition at line 81 of file VmSetup.cpp.
References have2SavePerSessionLog_, identities_, SgVersion::name(), path2AuxLogs_, path2Home_, path2InputFiles_, path2MasterFiles_, path2VgosDbFiles_, SgIdentities::print2stdOut(), useLocalLocale_, and vgosDbMakeVersion.
Referenced by parse_opt().
|
inline |
Sets up an option to save an auxiliary log.
Definition at line 296 of file VmSetup.h.
References have2SavePerSessionLog_.
Referenced by loadSettings().
|
inline |
Sets up identities of user, analysis center, computer, etc.
Definition at line 304 of file VmSetup.h.
References identities_.
|
inline |
Sets up a path to auxiliary logs.
Definition at line 288 of file VmSetup.h.
References path2AuxLogs_.
Referenced by loadSettings().
|
inline |
Sets up a path to nuSolve's home.
Definition at line 256 of file VmSetup.h.
References path2Home_.
Referenced by loadSettings().
|
inline |
Sets up a path to input files.
Definition at line 272 of file VmSetup.h.
References path2InputFiles_.
Referenced by loadSettings().
|
inline |
Sets up a path to masterfiles.
Definition at line 280 of file VmSetup.h.
References path2MasterFiles_.
Referenced by loadSettings().
|
inline |
Sets up a path to vgosDb files (observations).
Definition at line 264 of file VmSetup.h.
References path2VgosDbFiles_.
Referenced by loadSettings(), and main().
void VmSetup::setUpBinaryIdentities | ( | const QString & | argv0 | ) |
Definition at line 69 of file VmSetup.cpp.
References identities_, SgIdentities::setCurrentDir(), SgIdentities::setDriverVersion(), SgIdentities::setExecBinaryName(), SgIdentities::setExecDir(), and vgosDbMakeVersion.
Referenced by main().
|
inline |
|
private |
Definition at line 167 of file VmSetup.h.
Referenced by VmSetup(), getHave2SavePerSessionLog(), print2stdOut(), and setHave2SavePerSessionLog().
|
private |
Definition at line 171 of file VmSetup.h.
Referenced by getIdentities(), identities(), print2stdOut(), setIdentities(), and setUpBinaryIdentities().
|
private |
Definition at line 166 of file VmSetup.h.
Referenced by getPath2AuxLogs(), print2stdOut(), and setPath2AuxLogs().
|
private |
Definition at line 162 of file VmSetup.h.
Referenced by getPath2Home(), path2(), print2stdOut(), and setPath2Home().
|
private |
Definition at line 164 of file VmSetup.h.
Referenced by getPath2InputFiles(), print2stdOut(), and setPath2InputFiles().
|
private |
Definition at line 165 of file VmSetup.h.
Referenced by getPath2MasterFiles(), print2stdOut(), and setPath2MasterFiles().
|
private |
Definition at line 163 of file VmSetup.h.
Referenced by getPath2VgosDbFiles(), print2stdOut(), and setPath2VgosDbFiles().
|
private |
Definition at line 168 of file VmSetup.h.
Referenced by VmSetup(), getUseLocalLocale(), print2stdOut(), and setUseLocalLocale().