Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/node.cpp
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
namespace interfaces { | namespace interfaces { | ||||
namespace { | namespace { | ||||
class NodeImpl : public Node { | class NodeImpl : public Node { | ||||
void parseParameters(int argc, const char *const argv[]) override { | void parseParameters(int argc, const char *const argv[]) override { | ||||
gArgs.ParseParameters(argc, argv); | gArgs.ParseParameters(argc, argv); | ||||
} | } | ||||
void readConfigFile(const std::string &conf_path) override { | void readConfigFiles() override { gArgs.ReadConfigFiles(); } | ||||
gArgs.ReadConfigFile(conf_path); | |||||
} | |||||
bool softSetArg(const std::string &arg, | bool softSetArg(const std::string &arg, | ||||
const std::string &value) override { | const std::string &value) override { | ||||
return gArgs.SoftSetArg(arg, value); | return gArgs.SoftSetArg(arg, value); | ||||
} | } | ||||
bool softSetBoolArg(const std::string &arg, bool value) override { | bool softSetBoolArg(const std::string &arg, bool value) override { | ||||
return gArgs.SoftSetBoolArg(arg, value); | return gArgs.SoftSetBoolArg(arg, value); | ||||
} | } | ||||
void selectParams(const std::string &network) override { | void selectParams(const std::string &network) override { | ||||
▲ Show 20 Lines • Show All 263 Lines • Show Last 20 Lines |