From d65127c22558c67ea5e3688ce905ff6013c27a11 Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Mon, 26 Aug 2002 06:40:21 +0000 Subject: [PATCH] Added functions for setting boolean parameters --- util/epist/parser.hh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/util/epist/parser.hh b/util/epist/parser.hh index 1e70d6ee..c12fec92 100644 --- a/util/epist/parser.hh +++ b/util/epist/parser.hh @@ -48,6 +48,12 @@ public: void setArgumentStr(std::string arg) { _arg = arg.substr(1, arg.size() - 2); } + void setArgumentTrue(std::string) + { _arg = "true"; } + + void setArgumentFalse(std::string) + { _arg = "false"; } + void setOption(std::string opt) { _config->addOption(opt, _arg); } -- 2.45.2