1 #ifndef UserInterface_h 2 #define UserInterface_h 157 UserInterface(
const QString &xmlfile,
int &argc,
char *argv[]);
167 return p_abortOnError;
177 return p_batchList.size();
186 return p_gui != NULL;
214 void loadBatchList(
const QString file);
215 void loadCommandLine(
int argc,
char *argv[]);
216 void loadHistory(
const QString file);
218 void evaluateOption(
const QString
name,
const QString value);
219 void getNextParameter(
unsigned int &curPos,
220 QString &unresolvedParam,
221 std::vector<QString> &value);
222 void preProcess(QString fullReservedName, std::vector<QString> &reservedParams);
223 std::vector<QString> readArray(QString arrayString);
224 QString resolveParameter(QString &
name,
225 std::vector<QString> &reservedParams,
226 bool handleNoMatches =
true);
231 std::vector<std::vector<QString> > p_batchList;
233 std::vector<char *> p_cmdline;
241 QString p_infoFileName;
QString name
Definition: IsisAmlData.h:144
bool IsInteractive()
Indicates if the Isis Graphical User Interface is operating.
Definition: UserInterface.h:185
Gui * TheGui()
Definition: UserInterface.h:201
int BatchListSize()
Returns the size of the batchlist.
Definition: UserInterface.h:176
QString GetInfoFileName()
This method returns the filename where the debugging info is stored when the "-info" tag is used...
Definition: UserInterface.cpp:100
void SaveHistory()
Saves the user parameter information in the history of the program for later use. ...
Definition: UserInterface.cpp:242
int ParentId()
Returns the parent id.
Definition: UserInterface.h:194
bool GetInfoFlag()
This method returns the flag state of info.
Definition: UserInterface.cpp:111
~UserInterface()
Destroys the UserInterface object.
Definition: UserInterface.cpp:86
Application program XML file parameter manager.
Definition: IsisAml.h:154
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Command Line and Xml loader, validation, and access.
Definition: UserInterface.h:155
bool AbortOnError()
Returns true if the program should abort on error, and false if it should continue.
Definition: UserInterface.h:166
void SetBatchList(int i)
Clears the gui parameters and sets the batch list information at line i as the new parameters...
Definition: UserInterface.cpp:124
void SetErrorList(int i)
This method adds the line specified in the BatchList that the error occured on.
Definition: UserInterface.cpp:215
Gui for Isis Applications.
Definition: Gui.h:90
UserInterface(const QString &xmlfile, int &argc, char *argv[])
Constructs an UserInterface object.
Definition: UserInterface.cpp:52