My Project
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
IfaceStatus Class Reference
Inheritance diagram for IfaceStatus:
Inheritance graph
[legend]

Public Member Functions

 IfaceStatus (const string &prmpt, istream &is, ostream &os, int4 mxhist=10)
 
void setErrorIsDone (bool val)
 
void pushScript (const string &filename, const string &newprompt)
 
void popScript (void)
 
int4 getNumInputStreamSize (void) const
 
void writePrompt (void)
 
void registerCom (IfaceCommand *fptr, const char *nm1, const char *nm2=(const char *) 0, const char *nm3=(const char *) 0, const char *nm4=(const char *) 0, const char *nm5=(const char *) 0)
 
IfaceDatagetData (const string &nm) const
 
bool runCommand (void)
 
void getHistory (string &line, int4 i) const
 
int4 getHistorySize (void) const
 
bool isStreamFinished (void) const
 
bool isInError (void) const
 
void evaluateError (void)
 

Static Public Member Functions

static void wordsToString (string &res, const vector< string > &list)
 

Public Attributes

bool done
 
ostream * optr
 
ostream * fileoptr
 

Protected Member Functions

int4 expandCom (vector< string > &expand, istream &s, vector< IfaceCommand *>::const_iterator &first, vector< IfaceCommand *>::const_iterator &last)
 

Protected Attributes

istream * sptr
 
vector< IfaceCommand * > comlist
 
map< string, IfaceData * > datamap
 

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