#include <CMD_Source.h>
Public Member Functions | |
| CMD_Source (const char *filename, int interactive=0) | |
| ~CMD_Source () | |
| void | addHistory (const char *cmd) |
| CMD_VariableTable * | getLocalVariables () |
| const char * | getFilename () |
| CMD_HistoryTable * | getHistory () |
| CMD_IfState | getIfState () |
| void | setIfState (CMD_IfState state) |
| int | bumpIfNest (int dir) |
| const char * | getLine (UT_WorkBuffer &buf) |
| int | getLineNumber () const |
| int | getIfNestLevel () const |
| void | setIfNestLevel (int l) |
| void | setEchoState (int onoff) |
| int | getEchoState () const |
| bool | isStdIn () const |
| int | doIfStatements () |
| UT_IStream * | getInputStream () |
| void | pushUnfinishedCommands (const char *) |
| bool | hasUnfinishedCommands () |
| void | startBlock () |
| void | endBlock () |
Friends | |
| class | CMD_Manager |
Definition at line 45 of file CMD_Source.h.
| CMD_Source::CMD_Source | ( | const char * | filename, | |
| int | interactive = 0 | |||
| ) |
| CMD_Source::~CMD_Source | ( | ) |
| void CMD_Source::addHistory | ( | const char * | cmd | ) |
| int CMD_Source::bumpIfNest | ( | int | dir | ) |
| int CMD_Source::doIfStatements | ( | ) | [inline] |
Definition at line 73 of file CMD_Source.h.
| void CMD_Source::endBlock | ( | ) |
| int CMD_Source::getEchoState | ( | ) | const [inline] |
Definition at line 68 of file CMD_Source.h.
| const char* CMD_Source::getFilename | ( | ) | [inline] |
Definition at line 53 of file CMD_Source.h.
| CMD_HistoryTable* CMD_Source::getHistory | ( | ) | [inline] |
Definition at line 55 of file CMD_Source.h.
| int CMD_Source::getIfNestLevel | ( | ) | const [inline] |
Definition at line 65 of file CMD_Source.h.
| CMD_IfState CMD_Source::getIfState | ( | ) | [inline] |
Definition at line 57 of file CMD_Source.h.
| UT_IStream* CMD_Source::getInputStream | ( | ) | [inline] |
Definition at line 78 of file CMD_Source.h.
| const char* CMD_Source::getLine | ( | UT_WorkBuffer & | buf | ) |
| int CMD_Source::getLineNumber | ( | ) | const |
| CMD_VariableTable* CMD_Source::getLocalVariables | ( | ) | [inline] |
Definition at line 51 of file CMD_Source.h.
| bool CMD_Source::hasUnfinishedCommands | ( | ) |
| bool CMD_Source::isStdIn | ( | ) | const |
| void CMD_Source::pushUnfinishedCommands | ( | const char * | ) |
| void CMD_Source::setEchoState | ( | int | onoff | ) | [inline] |
Definition at line 67 of file CMD_Source.h.
| void CMD_Source::setIfNestLevel | ( | int | l | ) | [inline] |
Definition at line 66 of file CMD_Source.h.
| void CMD_Source::setIfState | ( | CMD_IfState | state | ) | [inline] |
Definition at line 58 of file CMD_Source.h.
| void CMD_Source::startBlock | ( | ) |
friend class CMD_Manager [friend] |
Definition at line 102 of file CMD_Source.h.
1.5.9