1 #ifndef __SSMD_SETTINGS_INL_H__
2 #define __SSMD_SETTINGS_INL_H__
15 _configFile("/etc/gssmd/gssmd.conf"),
16 _logFile("/var/log/gssmd.log"),
17 _PIDFile("/var/run/gssmd.pid"),
18 _switchSyncInterval(180),
19 _infoSyncInterval(60),
28 Settings::Settings(const Settings & rvalue)
29 : _isHelp(rvalue._isHelp),
30 _isVersion(rvalue._isVersion),
31 _isDebug(rvalue._isDebug),
32 _isDaemon(rvalue._isDaemon),
33 _configFile(rvalue._configFile),
34 _logFile(rvalue._logFile),
35 _PIDFile(rvalue._PIDFile),
36 _switchSyncInterval(rvalue._switchSyncInterval),
37 _infoSyncInterval(rvalue._infoSyncInterval),
38 _upProfileId(rvalue._upProfileId),
39 _downProfileId(rvalue._downProfileId),
40 _maxACLPerPDU(rvalue._maxACLPerPDU),
41 _dataURL(rvalue._dataURL),
42 _scriptBase(rvalue._scriptBase),
43 _dumpScripts(rvalue._dumpScripts)
53 const Settings & Settings::operator=(const Settings & rvalue)
55 _isHelp = rvalue._isHelp;
56 _isVersion = rvalue._isVersion;
57 _isDebug = rvalue._isDebug;
58 _isDaemon = rvalue._isDaemon;
59 _configFile = rvalue._configFile;
60 _logFile = rvalue._logFile;
61 _PIDFile = rvalue._PIDFile;
62 _switchSyncInterval = rvalue._switchSyncInterval;
63 _infoSyncInterval = rvalue._infoSyncInterval;
64 _upProfileId = rvalue._upProfileId;
65 _downProfileId = rvalue._downProfileId;
66 _maxACLPerPDU = rvalue._maxACLPerPDU;
67 _dataURL = rvalue._dataURL;
68 _scriptBase = rvalue._scriptBase;
69 _dumpScripts = rvalue._dumpScripts;
74 SettingsParser::~SettingsParser()
79 void SettingsParser::printHelp() const
81 std::cout << _desc << std::endl;