56 #ifndef _RNR_CMD_CORE_H 57 #define _RNR_CMD_CORE_H 67 #include <rnr/rnrconfig.h> 159 m_bBacktrace =
false;
167 static void dealloc(
void *p);
193 #endif // _RNR_CMD_CORE_H const char *const ArgSymFpn
fpn (double)
const int EUnknownCmd
unknown, unmatched command
const int NumOfECodes
number of error codes.
std::string name
command name
std::string synopsis
short command synopsis
const char *const DataSectNsNet
network data section ns
const int EAmbigCmd
ambiguous command
std::string longdesc
long command description
const char *const ArgSymLiteral
Variable argument symbol names.
const char *const DataSectNsCore
Reserved command line data section namespaces.
const int NoUid
Special values.
const int EError
general, unspecified error
User available command description structure.
const char *const ArgSymFile
file path
const char *const ArgSymMultiWord
any sequence
const std::string undefstring
"undef" string
const char *const ArgSymIdentifier
identifier
const char *const ArgSymRegEx
regular expression
const int ENoExec
cannot execute
const int ERead
read error
const int EBadSyntax
bad syntax
const int NoIndex
no index
const int AOk
(0) A-Ok, no error, success, good
const int EBadVal
bad value
DataSectCore()
Default contructor.
const char *const DataSectNsOS
OS data section ns.
Handy Dandy Name-Value Pair entry structure.
const int EArgv0
not this command argv0
bool m_bBacktrace
do [not] backtrace command line parsing
bool isIdentifier(const std::string &str)
Test if string is a valid identifier.
const char *const ArgSymWord
non-whitespace seq
std::string syntax
parsable command extended usage syntax
const char *const ArgSymBoolean
boolean (bool)
const char *const ArgSymInteger
integer (long)
const int ENoOp
no operation
const std::string emptystring
"" empty string
bool m_bQuit
command-line should [not] quit
const int EEoF
end of file