![]() |
appkit
1.5.1
RoadNarrows Robotics Application Kit
|
Command line interface class implementation. More...
#include <sys/types.h>#include <sys/select.h>#include <stdio.h>#include <unistd.h>#include <stdlib.h>#include <termios.h>#include <ctype.h>#include <iostream>#include <sstream>#include <string>#include <vector>#include <map>#include <set>#include "rnr/rnrconfig.h"#include "rnr/log.h"#include "rnr/appkit/LogStream.h"#include "rnr/appkit/StringTheory.h"#include "rnr/appkit/IOManip.h"#include "rnr/appkit/RegEx.h"#include "rnr/appkit/LogBook.h"#include "rnr/appkit/ReadLine.h"#include "rnr/appkit/Token.h"#include "rnr/appkit/CmdCore.h"#include "rnr/appkit/CmdExtArg.h"#include "rnr/appkit/CmdArgDef.h"#include "rnr/appkit/CmdFormDef.h"#include "rnr/appkit/CmdDef.h"#include "rnr/appkit/CommandLine.h"Go to the source code of this file.
Namespaces | |
| rnr | |
| RoadNarrows Robotics. | |
| rnr::cmd | |
| Commands. | |
Macros | |
| #define | CL_CALL_DEPTH |
| Debugging macros. More... | |
| #define | CL_SET_CALL_DEPTH(_n) |
| #define | CL_PUSH_CALL_DEPTH() |
| #define | CL_POP_CALL_DEPTH() |
| #define | CL_DBG_CALL_IN(_args, _post) |
| #define | CL_DBG_PARSE_CALL_IN(_cmddef, _formdef, _toks, _pos, _post) |
| #define | CL_DBG_CALL_OUT_NL(_res) |
| #define | CL_DBG_CALL_OUT_IL(_res) |
| #define | CL_DBG(os) |
Functions | |
| static bool | rnr::cmd::isspecial (int c) |
| Command usage syntax special characters. More... | |
| static bool | rnr::cmd::isdquote (int c) |
| Test if c is a double quote character. | |
| static bool | rnr::cmd::isoparen (int c) |
| Test if c is a open parenthesis character. | |
| static bool | rnr::cmd::iscparen (int c) |
| Test if c is a close parenthesis character. | |
| static bool | rnr::cmd::isesc (int c) |
| Testif c is an escape character. | |
| static char | rnr::cmd::tohex (int c) |
| Convert ascii character to binary character value. More... | |
| static const string | markExec ("ExecMark") |
| static const string | labelExec ("Execute: ") |
| static const string | labelNoExec ("NoExec: ") |
| static const string | labelCompile ("Compile: ") |
| static const string | labelParse ("Parse: ") |
| static const string | labelInput ("Input: ") |
| static const string | labelAt ("At: ") |
| static const string | labelSelect ("Select: ") |
| static const string | labelTry ("Try: ") |
| static const string | labelFit ("Fitness: ") |
| static const string | labelNoMatch ("NoMatch: ") |
| static const string | labelMatch ("Match: ") |
| static const string | labelSyntax ("Error: ") |
| static const string | labelFail ("Failure: ") |
| static const string | labelBlank (" ") |
Variables | |
| static CmdDef | rnr::cmd::nocmddef |
| "no cmd def" command definition | |
| static const string | rnr::cmd::noprompt |
| "no prompt" prompt value | |
Command line interface class implementation.
Definition in file CommandLine.cxx.
| #define CL_CALL_DEPTH |