From 89ba367bf26d6f75253a043d314139b8f6b8f09b Mon Sep 17 00:00:00 2001 From: Mark Jenkinson <mark@fmrib.ox.ac.uk> Date: Tue, 3 Jun 2003 17:57:44 +0000 Subject: [PATCH] *** empty log message *** --- check.cc.phwt | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 check.cc.phwt diff --git a/check.cc.phwt b/check.cc.phwt deleted file mode 100644 index 4f30f0a..0000000 --- a/check.cc.phwt +++ /dev/null @@ -1,33 +0,0 @@ -#include "options.h" - -// $Id$ - -namespace Utilities { - - bool OptionParser::check_compulsory_arguments(bool verbose) - { - bool okay = true; - - for(Options::iterator option = options_.begin(); - option != options_.end(); - option++) { - - if((*option)->compulsory() && (*option)->unset()) { - if(okay) { - if(verbose) { - cerr << "***************************************************" << endl; - cerr << "The following COMPULSORY options have not been set:" << endl; - } - okay = false; - } - if(verbose) - cerr << **option << endl; - } - } - if(!okay && verbose) - cerr << "***************************************************" << endl; - - return okay; - } - -} -- GitLab