7 #ifndef __CHECK_RESULTS_H__ 8 #define __CHECK_RESULTS_H__ 67 AddHelp(
"help",
"Prints this long version of help.");
68 AddHelp(
"verbosity",
"Sets the verbosity level to 1 or the specified level.");
69 std::ostringstream Ostr;
70 Ostr <<
"Sets the unique identifying string to <string>. The utility " 71 <<
"\n\t\tlooks for \"string\" to identify the input line containing" 72 <<
"\n\t\tthe result that should be checked. The numerical result is" 73 <<
"\n\t\texpected to be delimited by a colon (:). In other words..." 74 <<
"\n\t\tthe expected line format is as follows:" 75 <<
"\n\n\t\t\t string : <numerical entries>\n";
76 AddHelp(
"identifier",Ostr.str());
77 AddHelp(
"name",
"Sets the <testname> to be used for results output.");
78 AddHelp(
"range",
"Specifies the range to test against.");
89 Ostr <<
"This utility reads a file off stdin, searches for the line with the indicated string" 90 <<
" and performs a numerical comparison of the numbers in that line with the specified" 91 <<
" range. The result is reported to stdout and the compliment is returned.";
The ComLineObject for the example programs.
Defines MPI-specific parallel global and program classes.
CheckResultsComLine(const char *args[])
std::string _description
application description.
void AddOption(char s, const std::string &l, int=0)
User interface to describe simple option.
void Initialize()
This is where the actual options and arguments are described.
int CheckResults(int argc, char *argv[])
Check numerical results utility.
ComLineObject()
Default constructor.
void AddHelp(char s, const std::string &help)
Specify usage for an option.