Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/node.cpp
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | namespace { | ||||
class NodeImpl : public Node { | class NodeImpl : public Node { | ||||
public: | public: | ||||
NodeImpl() { m_interfaces.chain = MakeChain(); } | NodeImpl() { m_interfaces.chain = MakeChain(); } | ||||
bool parseParameters(int argc, const char *const argv[], | bool parseParameters(int argc, const char *const argv[], | ||||
std::string &error) override { | std::string &error) override { | ||||
return gArgs.ParseParameters(argc, argv, error); | return gArgs.ParseParameters(argc, argv, error); | ||||
} | } | ||||
bool readConfigFiles(std::string &error) override { | bool readConfigFiles(std::string &error) override { | ||||
return gArgs.ReadConfigFiles(error); | return gArgs.ReadConfigFiles(error, true); | ||||
} | } | ||||
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); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 254 Lines • Show Last 20 Lines |