![]() |
appkit
1.5.1
RoadNarrows Robotics Application Kit
|
Command line core data types. More...
#include <stdio.h>#include <unistd.h>#include <stdlib.h>#include <ctype.h>#include <iostream>#include <string>#include <rnr/rnrconfig.h>Go to the source code of this file.
Classes | |
| struct | rnr::cmd::CmdDesc |
| User available command description structure. More... | |
| struct | rnr::cmd::DataSectCore |
| Core data section type. More... | |
| struct | rnr::cmd::NameValuePair |
| Handy Dandy Name-Value Pair entry structure. More... | |
Namespaces | |
| rnr | |
| RoadNarrows Robotics. | |
| rnr::cmd | |
| Commands. | |
Functions | |
| bool | rnr::cmd::isIdentifier (const std::string &str) |
| Test if string is a valid identifier. More... | |
Variables | |
| const int | rnr::cmd::AOk = OK |
| (0) A-Ok, no error, success, good | |
| const int | rnr::cmd::EError = -1 |
| general, unspecified error | |
| const int | rnr::cmd::EEoF = -2 |
| end of file | |
| const int | rnr::cmd::ERead = -3 |
| read error | |
| const int | rnr::cmd::EAmbigCmd = -4 |
| ambiguous command | |
| const int | rnr::cmd::EUnknownCmd = -5 |
| unknown, unmatched command | |
| const int | rnr::cmd::EBadSyntax = -6 |
| bad syntax | |
| const int | rnr::cmd::ENoExec = -7 |
| cannot execute | |
| const int | rnr::cmd::EArgv0 = -8 |
| not this command argv0 | |
| const int | rnr::cmd::ENoOp = -9 |
| no operation | |
| const int | rnr::cmd::EBadVal = -10 |
| bad value | |
| const int | rnr::cmd::NumOfECodes = 10 |
| number of error codes. | |
| const int | rnr::cmd::NoUid = -1 |
| Special values. More... | |
| const int | rnr::cmd::NoIndex = -1 |
| no index | |
| const char *const | rnr::cmd::ArgSymLiteral = "literal" |
| Variable argument symbol names. More... | |
| const char *const | rnr::cmd::ArgSymWord = "word" |
| non-whitespace seq | |
| const char *const | rnr::cmd::ArgSymMultiWord = "multiword" |
| any sequence | |
| const char *const | rnr::cmd::ArgSymIdentifier = "identifier" |
| identifier | |
| const char *const | rnr::cmd::ArgSymBoolean = "bool" |
| boolean (bool) | |
| const char *const | rnr::cmd::ArgSymInteger = "int" |
| integer (long) | |
| const char *const | rnr::cmd::ArgSymFpn = "fpn" |
| fpn (double) | |
| const char *const | rnr::cmd::ArgSymFile = "file" |
| file path | |
| const char *const | rnr::cmd::ArgSymRegEx = "re" |
| regular expression | |
| const std::string | rnr::cmd::emptystring |
| "" empty string More... | |
| const std::string | rnr::cmd::undefstring |
| "undef" string | |
| const char *const | rnr::cmd::DataSectNsCore = "core" |
| Reserved command line data section namespaces. More... | |
| const char *const | rnr::cmd::DataSectNsOS = "os" |
| OS data section ns. | |
| const char *const | rnr::cmd::DataSectNsNet = "net" |
| network data section ns | |
Command line core data types.
Definition in file CmdCore.h.