casa
5.7.0-16
|
extend the option::Arg struct to provide the necessary argument checking for the alma apps for use with the optionparser suite More...
#include <AlmaArg.h>
Static Public Member Functions | |
static void | printError (const char *msg1, const option::Option &opt, const char *msg2) |
static option::ArgStatus | Unknown (const option::Option &option, bool msg) |
unknown argument More... | |
static option::ArgStatus | Required (const option::Option &option, bool msg) |
an associated value is required opt=arg, no constraints on type More... | |
static option::ArgStatus | Long (const option::Option &option, bool msg) |
an associated value is required and must be an a long integer More... | |
static option::ArgStatus | uInt (const option::Option &option, bool msg) |
an associated value is required and must be an unsigned int More... | |
static option::ArgStatus | Float (const option::Option &option, bool msg) |
an associated value is required and must be a valid floating point (double) More... | |
static option::ArgStatus | Bool (const option::Option &option, bool msg) |
an associated value is required and must be either "true" or "false" ignores case More... | |
Static Public Member Functions inherited from option::Arg | |
static ArgStatus | None (const Option &, bool) |
! More... | |
static ArgStatus | Optional (const Option &option, bool) |
! More... | |
extend the option::Arg struct to provide the necessary argument checking for the alma apps for use with the optionparser suite
|
inlinestatic |
an associated value is required and must be either "true" or "false" ignores case
Definition at line 83 of file AlmaArg.h.
References option::Option::arg, option::ARG_ILLEGAL, option::ARG_OK, and casacore::trim().
|
inlinestatic |
an associated value is required and must be a valid floating point (double)
Definition at line 70 of file AlmaArg.h.
References option::Option::arg, option::ARG_ILLEGAL, and option::ARG_OK.
|
inlinestatic |
an associated value is required and must be an a long integer
Definition at line 44 of file AlmaArg.h.
References option::Option::arg, option::ARG_ILLEGAL, and option::ARG_OK.
|
inlinestatic |
Definition at line 21 of file AlmaArg.h.
References option::Option::name, and option::Option::namelen.
|
inlinestatic |
an associated value is required opt=arg, no constraints on type
Definition at line 34 of file AlmaArg.h.
References option::Option::arg, option::ARG_ILLEGAL, and option::ARG_OK.
|
inlinestatic |
an associated value is required and must be an unsigned int
uses strtoul, but must also check that converted value would fit in an unsigned int
Definition at line 56 of file AlmaArg.h.
References option::Option::arg, option::ARG_ILLEGAL, and option::ARG_OK.
|
inlinestatic |