21 NoValue, OptionalValue, MandatoryValue
27 const char *description;
31 Cell() { option = description = value = 0; next = 0; }
43 char *basename(
char *
const p)
const;
44 int setcell(Cell *c,
const char *valtoken,
const char *nexttoken,
const char *p);
56 int parse(
int argc,
char *
const *argv);
62 int parse(
char *
const str,
char *
const p);
70 const char *
const desc,
const char *
const val);
73 const char *
retrieve(
const char *
const opt)
const;
77 void usage(std::ostream &outfile = std::cout)
const;
80 void usage(
const char *str) { ustring = str; }
int enroll(const char *const opt, const OptType t, const char *const desc, const char *const val)
Enroll an option.
const char * retrieve(const char *const opt) const
Retrieve an option.
void usage(std::ostream &outfile=std::cout) const
Print usage information.
int parse(int argc, char *const *argv)
Parse command line options.
void usage(const char *str)
Initialize usage synopsis.
Definition: GetLongOpt.h:80
OptType
Used by the enroll member to specify whether or not a value is expected or optional.
Definition: GetLongOpt.h:20
GetLongOpt(const char optmark='-')
Initialize the object.
Parse command line options.
Definition: GetLongOpt.h:16
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
Generated at Sun Jan 26 2020 23:24:02 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.