AURobotServers
4
|
#include <urule.h>
Public Member Functions | |
virtual const char * | getDataType () |
const char * | getLine () |
virtual const char * | print (const char *preStr, char *buf, const int bufCnt) |
virtual bool | setLine (const int lineNum, const char *value, UVarCalc *calc) |
UMisLineItem () | |
virtual | ~UMisLineItem () |
Public Member Functions inherited from UMisItem | |
virtual ResultValue | execute (UVarCalc *calc, int state) |
const char * | findStopChar (const char *source, char stop) |
int | getLineNumber () |
bool | isA (const char *matchType) |
void | setLineNumber (const int line) |
UMisItem () | |
virtual | ~UMisItem () |
Public Member Functions inherited from UDataBase | |
bool | isA (const char *typeString) |
virtual bool | isAlsoA (const char *typeString) |
virtual void | snprint (const char *preString, char *buff, const int buffCnt) |
UDataBase () | |
virtual | ~UDataBase () |
Protected Attributes | |
char * | line |
Protected Attributes inherited from UMisItem | |
int | lineNumber |
Additional Inherited Members | |
Public Types inherited from UMisItem | |
enum | ResultValue { RV_EMPTY, RV_OK, RV_OK_FALSE, RV_OK_AGAIN, RV_SYNTAX_ERROR, RV_FAILED, RV_IF_TRUE, RV_IF_FALSE } |
Static Public Member Functions inherited from UMisItem | |
static bool | isRem (const char *r) |
Public Attributes inherited from UMisItem | |
UMisItem * | next |
Protected Member Functions inherited from UMisItem | |
int | symbolLength (const char *exp) |
Class that holds a non-block statement
UMisLineItem::UMisLineItem | ( | ) |
Constructor
|
virtual |
Constructor Destructor
|
inlinevirtual |
Get (end) type of this structure
Reimplemented from UMisItem.
Reimplemented in UMisString, UMisRemark, UMisControl, UMisCall, UMisCaseDefault, UMisCase, UMisCaseSwitch, UMisLoop, UMisEnable, UMisBreak, UMisIfElse, UMisIf, and UMisAssign.
References buf.
Referenced by UMisRuleState::runLine().
|
inline |
Get a pointer to the full source line
Referenced by UMisRuleState::getStateStr(), UMisRuleState::initCall(), UMisRuleState::runEnable(), UMisRuleState::runLine(), and UMisRuleState::runRuleCommands().
|
virtual |
Print if statement to buffer
preStr | a string to add before the plan lines |
buf | a string buffer to hold the plan |
bufCnt | the size of the buffer |
Reimplemented from UMisItem.
References buf, and str2xmlMin().
|
virtual |
Set the command line
Reimplemented from UMisItem.
Reimplemented in UMisControl, UMisCall, UMisCase, UMisCaseSwitch, UMisLoop, UMisEnable, UMisBreak, UMisIf, and UMisAssign.
References UMisItem::setLineNumber(), and xml2str().
Referenced by UMisAssign::setLine(), UMisIf::setLine(), UMisBreak::setLine(), UMisEnable::setLine(), UMisLoop::setLine(), UMisCaseSwitch::setLine(), UMisCase::setLine(), and UMisCall::setLine().
|
protected |
the command line