HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CMD_Source Class Reference

#include <CMD_Source.h>

Public Member Functions

 CMD_Source (const char *filename, int interactive=0)
 
 ~CMD_Source ()
 
void addHistory (const char *cmd)
 
CMD_VariableTablegetLocalVariables ()
 
const char * getFilename ()
 
CMD_HistoryTablegetHistory ()
 
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_IStreamgetInputStream ()
 
bool isInteractive () const
 
void setIsInteractive (bool is_interactive)
 
void pushUnfinishedCommands (const char *)
 
bool hasUnfinishedCommands ()
 
void startBlock ()
 
void endBlock ()
 

Friends

class CMD_Manager
 

Detailed Description

Definition at line 38 of file CMD_Source.h.

Constructor & Destructor Documentation

CMD_Source::CMD_Source ( const char *  filename,
int  interactive = 0 
)
CMD_Source::~CMD_Source ( )

Member Function Documentation

void CMD_Source::addHistory ( const char *  cmd)
int CMD_Source::bumpIfNest ( int  dir)
int CMD_Source::doIfStatements ( )
inline

Definition at line 69 of file CMD_Source.h.

void CMD_Source::endBlock ( )
int CMD_Source::getEchoState ( ) const
inline

Definition at line 64 of file CMD_Source.h.

const char* CMD_Source::getFilename ( )
inline

Definition at line 49 of file CMD_Source.h.

CMD_HistoryTable* CMD_Source::getHistory ( )
inline

Definition at line 51 of file CMD_Source.h.

int CMD_Source::getIfNestLevel ( ) const
inline

Definition at line 61 of file CMD_Source.h.

CMD_IfState CMD_Source::getIfState ( )
inline

Definition at line 53 of file CMD_Source.h.

UT_IStream* CMD_Source::getInputStream ( )
inline

Definition at line 75 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 47 of file CMD_Source.h.

bool CMD_Source::hasUnfinishedCommands ( )
bool CMD_Source::isInteractive ( ) const
inline

Definition at line 76 of file CMD_Source.h.

bool CMD_Source::isStdIn ( ) const
void CMD_Source::pushUnfinishedCommands ( const char *  )
void CMD_Source::setEchoState ( int  onoff)
inline

Definition at line 63 of file CMD_Source.h.

void CMD_Source::setIfNestLevel ( int  l)
inline

Definition at line 62 of file CMD_Source.h.

void CMD_Source::setIfState ( CMD_IfState  state)
inline

Definition at line 54 of file CMD_Source.h.

void CMD_Source::setIsInteractive ( bool  is_interactive)
inline

Definition at line 78 of file CMD_Source.h.

void CMD_Source::startBlock ( )

Friends And Related Function Documentation

friend class CMD_Manager
friend

Definition at line 105 of file CMD_Source.h.


The documentation for this class was generated from the following file: