CMD_Source Class Reference

#include <CMD_Source.h>

List of all members.

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 ()
void pushUnfinishedCommands (const char *)
bool hasUnfinishedCommands ()
void startBlock ()
void endBlock ()

Friends

class CMD_Manager


Detailed Description

Definition at line 45 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 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 (  ) 


Friends And Related Function Documentation

friend class CMD_Manager [friend]

Definition at line 102 of file CMD_Source.h.


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

Generated on Fri May 25 00:10:20 2012 for HDK by  doxygen 1.5.9