Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/node.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | public: | ||||
//! Send init error. | //! Send init error. | ||||
virtual void initError(const std::string &message) = 0; | virtual void initError(const std::string &message) = 0; | ||||
//! Set command line arguments. | //! Set command line arguments. | ||||
virtual bool parseParameters(int argc, const char *const argv[], | virtual bool parseParameters(int argc, const char *const argv[], | ||||
std::string &error) = 0; | std::string &error) = 0; | ||||
//! Set a command line argument | |||||
virtual void forceSetArg(const std::string &arg, | |||||
const std::string &value) = 0; | |||||
//! Set a command line argument if it doesn't already have a value | //! Set a command line argument if it doesn't already have a value | ||||
virtual bool softSetArg(const std::string &arg, | virtual bool softSetArg(const std::string &arg, | ||||
const std::string &value) = 0; | const std::string &value) = 0; | ||||
//! Set a command line boolean argument if it doesn't already have a value | //! Set a command line boolean argument if it doesn't already have a value | ||||
virtual bool softSetBoolArg(const std::string &arg, bool value) = 0; | virtual bool softSetBoolArg(const std::string &arg, bool value) = 0; | ||||
//! Load settings from configuration file. | //! Load settings from configuration file. | ||||
▲ Show 20 Lines • Show All 229 Lines • Show Last 20 Lines |