return *this;
}
+void GetOpt::OptBase::process()
+{
+ if(arg_type==REQUIRED_ARG)
+ throw UsageError("--"+lng+" requires an argument");
+ ++seen_count;
+
+ store();
+}
+
+void GetOpt::OptBase::process(const string &arg)
+{
+ if(arg_type==NO_ARG)
+ throw UsageError("--"+lng+" takes no argument");
+ ++seen_count;
+
+ store(arg);
+}
+
} // namespace Msp