GME  13
OperOptions.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 class CCoreXmlFile;
00004 
00005 class OperatingOptions
00006 {
00007         bool           parseBool   ( const std::string& p_line, const std::string& p_optStr);
00008         std::string    parseStr    ( const std::string& p_line, const std::string& p_optStr);
00009         void           loadSettings( const std::string& p_folder, const std::string& p_name);
00010 public:
00011         OperatingOptions           ();
00012         void           reset       ();
00013         void           load        ( const std::string& p_folder);
00014         void           display     ( CCoreXmlFile * const p_parent);
00015 
00016         // members
00017         static const char *  m_usrConfName;
00018         static const char *  m_sysConfName;
00019         static const char *  m_sysConfDefContentsSvn;
00020         static const char *  m_sysConfDefContentsPlain;
00021         bool                 m_defCheckInOnSave;
00022         bool m_autoCommit;
00023         bool                 m_defCheckOutOnAction;
00024         bool                 m_alwaysFullLock;
00025         bool                 m_onDeleteAlwaysFullLock;
00026         bool                 m_onLoadShowStatus;
00027         bool                 m_measureTime;
00028         bool                 m_createLog;
00029         bool                 m_createSvnLog;
00030         bool                 m_doRefTargetLock;
00031         bool                 m_doConnEndPointLock;
00032         bool                 m_doConnSegmentLock;
00033         bool                 m_doModelParentLock;
00034         bool                 m_doBaseTypeLock;
00035         bool                 m_partialLoad;
00036         bool                 m_useAccountInfo;
00037         bool                 m_automaticLogin;
00038         bool                 m_useAPIForSvn;
00039         bool                 m_useBulkCommit;
00040         bool                 m_dirNamesHashed;
00041         int                  m_dirNamesHashVal;
00042         double               m_purgeDelayFactor;
00043         std::string          m_svnLogFileName;
00044         std::string          m_nameParadigmFile;
00045         std::string          m_defUserName;
00046         std::string          m_defPassword;
00047         std::string          m_prefUrl;
00048         std::string          m_prefAccessMethod;
00049 };