1 #ifndef __GTS_SETTINGS_INL_H__
2 #define __GTS_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)
51 const Settings & Settings::operator=(const Settings & rvalue)
53 _isHelp = rvalue._isHelp;
54 _isVersion = rvalue._isVersion;
55 _isDebug = rvalue._isDebug;
56 _isDaemon = rvalue._isDaemon;
57 _configFile = rvalue._configFile;
58 _logFile = rvalue._logFile;
59 _PIDFile = rvalue._PIDFile;
60 _switchSyncInterval = rvalue._switchSyncInterval;
61 _infoSyncInterval = rvalue._infoSyncInterval;
62 _upProfileId = rvalue._upProfileId;
63 _downProfileId = rvalue._downProfileId;
64 _maxACLPerPDU = rvalue._maxACLPerPDU;
65 _dataURL = rvalue._dataURL;
70 SettingsParser::~SettingsParser()
75 void SettingsParser::printHelp() const
77 std::cout << _desc << std::endl;