HDK
|
#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 () |
bool | isInteractive () const |
void | setIsInteractive (bool is_interactive) |
void | pushUnfinishedCommands (const char *) |
bool | hasUnfinishedCommands () |
void | startBlock () |
void | endBlock () |
Friends | |
class | CMD_Manager |
Definition at line 38 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 | ) |
|
inline |
Definition at line 69 of file CMD_Source.h.
void CMD_Source::endBlock | ( | ) |
|
inline |
Definition at line 64 of file CMD_Source.h.
|
inline |
Definition at line 49 of file CMD_Source.h.
|
inline |
Definition at line 51 of file CMD_Source.h.
|
inline |
Definition at line 61 of file CMD_Source.h.
|
inline |
Definition at line 53 of file CMD_Source.h.
|
inline |
Definition at line 75 of file CMD_Source.h.
const char* CMD_Source::getLine | ( | UT_WorkBuffer & | buf | ) |
int CMD_Source::getLineNumber | ( | ) | const |
|
inline |
Definition at line 47 of file CMD_Source.h.
bool CMD_Source::hasUnfinishedCommands | ( | ) |
|
inline |
Definition at line 76 of file CMD_Source.h.
bool CMD_Source::isStdIn | ( | ) | const |
void CMD_Source::pushUnfinishedCommands | ( | const char * | ) |
Definition at line 63 of file CMD_Source.h.
Definition at line 62 of file CMD_Source.h.
|
inline |
Definition at line 54 of file CMD_Source.h.
|
inline |
Definition at line 78 of file CMD_Source.h.
void CMD_Source::startBlock | ( | ) |
|
friend |
Definition at line 105 of file CMD_Source.h.