lemAutoRun
1.0
|
#include <PAutoRunParser.h>
Signals | |
void | ParseError (int noOfErrors, int idx, int errorNo, int line, QString errorMsg) |
Public Member Functions | |
PAutoRunParser (QString userAutoRunSeqFln, QString &schemaPath, QString &xmlFln, PAutoRunCmdVector *arcv, POdbTagVector *odbtagv) | |
~PAutoRunParser () | |
void | ConvertToXML () |
void | Parse () |
int | GetParseErrorCounts () |
PXMLParseErrorVector * | GetXMLParseErrorVector () |
PAutoRunCmdVector * | GetAutoRunCmdVector () |
POdbTagVector * | GetOdbTagVector () |
Private Member Functions | |
QString | CheckForAlias (QString &str) |
void | ConvertAlias (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertIgnoreAlarms (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertIgnoreClients (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertBPV (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertComment (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertDegaussWEW (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertDegaussDanfysik (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertDegauss (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertDegaussSpinRot (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertDump (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertFieldWEWL (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertFieldWEWH (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertFieldDanfysik (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertField (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertFOM (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertLEMSetup (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertLoopStart (int lineNo, QString &offset, QStringList &xml) |
void | ConvertLoopList (QString &str, QString &offset, QStringList &xml) |
void | ConvertLoopIterator (QString &str, QString &offset, QStringList &xml) |
void | ConvertLoopTemp (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertLoopSampleHV (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertLoopFieldWEWL (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertLoopFieldWEWH (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertLoopFieldDanfysik (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertLoopField (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertLoopEnd (QString &offset, QStringList &xml) |
void | ConvertModerator (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertSampleHV (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertRA_HV (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertTransportHV (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertHVOff (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertOdbSetData (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertOdbSetDataArray (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertOdbTag (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertStart (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertStop (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertSpinRot (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertTfl (QString &str, int lineNo, QString &offset, QStringList &xml) |
PAutoRunParser::ConvertTfl. More... | |
void | ConvertTemp (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertTitle (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertTOF (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertWait (QString &str, int lineNo, QString &offset, QStringList &xml) |
void | ConvertWarmUp (QString &str, int lineNo, QString &offset, QStringList &xml) |
Private Attributes | |
QString | fInputFileName |
file name of the user auto run sequence More... | |
QString | fAutoRunXMLSchemaPath |
file name of the XML-schema More... | |
QString | fXMLFileName |
file name of the XML auto run sequence More... | |
QMap< QString, QString > | fAlias |
keep all alias More... | |
int | fParseErrorCounter |
the number parse errors encountered before giving up More... | |
PAutoRunCmdVector * | fAutoRunCmdVector |
pointer to the vector of the expanded auto run sequence More... | |
POdbTagVector * | fOdbTagVector |
pointer to the vector of ODB tags More... | |
PXMLParseErrorVector * | fXMLParseErrorVector |
vector holding all the parse error information More... | |
Friends | |
class | PSAX2AutoRunParseHandler |
class | PSAX2AutoRunParser |
Parser class which handles user auto run sequences.
Definition at line 152 of file PAutoRunParser.h.
PAutoRunParser::PAutoRunParser | ( | QString | userAutoRunSeqFln, |
QString & | schemaPath, | ||
QString & | xmlFln, | ||
PAutoRunCmdVector * | arcv, | ||
POdbTagVector * | odbtagv | ||
) |
Constructor of for the LEM auto run sequence parser.
userAutoRunSeqFln | file name of the user auto run sequence |
schemaPath | file name of the XML-schema needed for validation |
xmlFln | file name of the XML translated user auto run sequence |
arcv | pointer to the auto run command vector which stores all commands |
Definition at line 1760 of file PAutoRunParser.cpp.
References fParseErrorCounter, and fXMLParseErrorVector.
PAutoRunParser::~PAutoRunParser | ( | ) |
Destructor
Definition at line 1779 of file PAutoRunParser.cpp.
|
private |
Checks if an alias is present in the string, and if so replace it.
return: string in which the alias has been replaced by its value.
str | string from the user auto run sequence |
Definition at line 1990 of file PAutoRunParser.cpp.
References fAlias.
Referenced by ConvertDump(), ConvertField(), ConvertFieldDanfysik(), ConvertFieldWEWH(), ConvertFieldWEWL(), ConvertFOM(), ConvertHVOff(), ConvertLEMSetup(), ConvertLoopField(), ConvertLoopFieldDanfysik(), ConvertLoopFieldWEWH(), ConvertLoopFieldWEWL(), ConvertLoopSampleHV(), ConvertLoopTemp(), ConvertModerator(), ConvertOdbSetData(), ConvertOdbSetDataArray(), ConvertOdbTag(), ConvertRA_HV(), ConvertSampleHV(), ConvertSpinRot(), ConvertStart(), ConvertStop(), ConvertTemp(), ConvertTfl(), ConvertTitle(), ConvertTOF(), ConvertTransportHV(), ConvertWait(), and ConvertWarmUp().
|
private |
Converts a user auto run script ALIAS to the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2034 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts a user auto run script BPVX/BPVY to the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2101 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts a user auto run script comment to the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2129 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts the user auto run command DEGAUSS
into the corresponding XML command.
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3406 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts the user auto run command DEGAUSS_DANFYSIK
into the corresponding XML command.
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3385 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts the user auto run command DEGAUSS_SPIN_ROT
into the corresponding XML command.
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3427 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts the user auto run command DEGAUSS_WEW
into the corresponding XML command.
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3364 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts the user auto run command DUMP number_of_dumps
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2155 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts the user auto run command FIELD value [A|G]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2284 of file PAutoRunParser.cpp.
References CheckForAlias(), fParseErrorCounter, fXMLParseErrorVector, LAR_INVALID_CMD, and ParseError().
Referenced by ConvertToXML().
|
private |
Converts the user auto run command FIELD_DANFYSIK value [A|G]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2249 of file PAutoRunParser.cpp.
References CheckForAlias(), fParseErrorCounter, fXMLParseErrorVector, LAR_INVALID_CMD, and ParseError().
Referenced by ConvertToXML().
|
private |
Converts the user auto run command FIELD_WEWH value [A|G]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2214 of file PAutoRunParser.cpp.
References CheckForAlias(), fParseErrorCounter, fXMLParseErrorVector, LAR_INVALID_CMD, and ParseError().
Referenced by ConvertToXML().
|
private |
Converts the user auto run command FIELD_WEWL value [A|G]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2179 of file PAutoRunParser.cpp.
References CheckForAlias(), fParseErrorCounter, fXMLParseErrorVector, LAR_INVALID_CMD, and ParseError().
Referenced by ConvertToXML().
|
private |
Converts the user auto run command FOM value
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2319 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command HV_OFF <chamber>
into the corresponding XML command. <chamber> is one of these: MC, TC, SC
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2976 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts a user auto run script command IGNORE_ALARMS to the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2057 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts a user auto run script command IGNORE_CLIENTS to the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2079 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts a user auto run command LEM_SETUP string
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2343 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command LOOP_END
into the corresponding XML command.
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2646 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts a user auto run command LOOP_FIELD LOOP_ELEMENT [A|G]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2615 of file PAutoRunParser.cpp.
References CheckForAlias(), fParseErrorCounter, fXMLParseErrorVector, LAR_INVALID_CMD, and ParseError().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command LOOP_FIELD_DANFYSIK LOOP_ELEMENT [A|G]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2582 of file PAutoRunParser.cpp.
References CheckForAlias(), fParseErrorCounter, fXMLParseErrorVector, LAR_INVALID_CMD, and ParseError().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command LOOP_FIELD_WEWH LOOP_ELEMENT [A|G]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2549 of file PAutoRunParser.cpp.
References CheckForAlias(), fParseErrorCounter, fXMLParseErrorVector, LAR_INVALID_CMD, and ParseError().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command LOOP_FIELD_WEWL LOOP_ELEMENT [A|G]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2516 of file PAutoRunParser.cpp.
References CheckForAlias(), fParseErrorCounter, fXMLParseErrorVector, LAR_INVALID_CMD, and ParseError().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command LOOP_ITERATOR
into the corresponding XML command.
str | string from the user auto run sequence |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2416 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts a user auto run command LOOP_LIST
into the corresponding XML command.
str | string from the user auto run sequence |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2384 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts a user auto run command LOOP_SAMPLE_HV
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2494 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command LOOP_START
into the corresponding XML command.
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2366 of file PAutoRunParser.cpp.
Referenced by ConvertToXML().
|
private |
Converts a user auto run command LOOP_TEMP
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2461 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command MODERATOR mod, date
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2664 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command ODB_SET_DATA <set_path>, <index>,
[, <read_path>, <read_value>, <timeout>, <tolerance>]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2693 of file PAutoRunParser.cpp.
References CheckForAlias(), fParseErrorCounter, fXMLParseErrorVector, LAR_INVALID_CMD, and ParseError().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command ODB_SET_DATA_ARRAY <set_path>,
[,
]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2786 of file PAutoRunParser.cpp.
References CheckForAlias(), fParseErrorCounter, fXMLParseErrorVector, LAR_INVALID_CMD, and ParseError().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command ODB_TAG <label> <ODB_PATH>[idx]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2837 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command RA_HV left, right[, top, bottom]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2903 of file PAutoRunParser.cpp.
References CheckForAlias(), fParseErrorCounter, fXMLParseErrorVector, LAR_INVALID_CMD, and ParseError().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command SAMPLE_HV value
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2879 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command SPIN_ROT
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3000 of file PAutoRunParser.cpp.
References CheckForAlias(), fParseErrorCounter, fXMLParseErrorVector, LAR_INVALID_CMD, and ParseError().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command START no_events
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3058 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts the user auto run command STOP no_events
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3088 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command TEMP T, dT [, HeaterRange, P, I, D, Flow]
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3148 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3116 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command TITLE string
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3218 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command TOF start, stop
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3281 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
void PAutoRunParser::ConvertToXML | ( | ) |
Converts the user auto run sequence to a XML-file without any consistency checks. These are done on the XML<->schema level.
Definition at line 1790 of file PAutoRunParser.cpp.
References ConvertAlias(), ConvertBPV(), ConvertComment(), ConvertDegauss(), ConvertDegaussDanfysik(), ConvertDegaussSpinRot(), ConvertDegaussWEW(), ConvertDump(), ConvertField(), ConvertFieldDanfysik(), ConvertFieldWEWH(), ConvertFieldWEWL(), ConvertFOM(), ConvertHVOff(), ConvertIgnoreAlarms(), ConvertIgnoreClients(), ConvertLEMSetup(), ConvertLoopEnd(), ConvertLoopField(), ConvertLoopFieldDanfysik(), ConvertLoopFieldWEWH(), ConvertLoopFieldWEWL(), ConvertLoopIterator(), ConvertLoopList(), ConvertLoopSampleHV(), ConvertLoopStart(), ConvertLoopTemp(), ConvertModerator(), ConvertOdbSetData(), ConvertOdbSetDataArray(), ConvertOdbTag(), ConvertRA_HV(), ConvertSampleHV(), ConvertSpinRot(), ConvertStart(), ConvertStop(), ConvertTemp(), ConvertTfl(), ConvertTitle(), ConvertTOF(), ConvertTransportHV(), ConvertWait(), ConvertWarmUp(), fAlias, fAutoRunXMLSchemaPath, fInputFileName, fParseErrorCounter, fXMLFileName, fXMLParseErrorVector, LAR_INPUT_FILE_NOT_EXISTING, LAR_INPUT_FILE_READ_ERROR, LAR_INVALID_CMD, LAR_OUTPUT_FILE_WRITE_ERROR, and ParseError().
Referenced by main().
|
private |
Converts a user auto run command TRANSPORT_HV <transport_hv_setting_file_name>
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 2952 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts a user auto run command WAIT time
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3311 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
private |
Converts the user auto run command WARMUP date, time
into the corresponding XML command.
str | string from the user auto run sequence |
lineNo | line number of the command line form the user auto run sequence. |
offset | formating offset string needed for loops |
xml | string list keeping the converted xml commands |
Definition at line 3335 of file PAutoRunParser.cpp.
References CheckForAlias().
Referenced by ConvertToXML().
|
inline |
Definition at line 166 of file PAutoRunParser.h.
References fAutoRunCmdVector.
Referenced by PSAX2AutoRunParseHandler::PSAX2AutoRunParseHandler().
|
inline |
Definition at line 167 of file PAutoRunParser.h.
References fOdbTagVector.
|
inline |
Definition at line 163 of file PAutoRunParser.h.
References fParseErrorCounter.
Referenced by main().
|
inline |
Definition at line 165 of file PAutoRunParser.h.
References fXMLParseErrorVector.
void PAutoRunParser::Parse | ( | ) |
Handles the XML parsing of the converted user auto run sequence.
Definition at line 3443 of file PAutoRunParser.cpp.
References fParseErrorCounter, fXMLFileName, fXMLParseErrorVector, LAR_XML_EXCEPTION, LAR_XML_INIT_ERROR, LAR_XML_OUT_OF_MEMORY, LAR_XML_UNEXPECTED_EXCEPTION, and ParseError().
Referenced by main().
|
signal |
|
friend |
Definition at line 173 of file PAutoRunParser.h.
|
friend |
Definition at line 232 of file PAutoRunParser.h.
|
private |
keep all alias
Definition at line 179 of file PAutoRunParser.h.
Referenced by CheckForAlias(), and ConvertToXML().
|
private |
pointer to the vector of the expanded auto run sequence
Definition at line 183 of file PAutoRunParser.h.
Referenced by GetAutoRunCmdVector().
|
private |
file name of the XML-schema
Definition at line 176 of file PAutoRunParser.h.
Referenced by ConvertToXML().
|
private |
file name of the user auto run sequence
Definition at line 175 of file PAutoRunParser.h.
Referenced by ConvertToXML().
|
private |
pointer to the vector of ODB tags
Definition at line 184 of file PAutoRunParser.h.
Referenced by GetOdbTagVector().
|
private |
the number parse errors encountered before giving up
Definition at line 181 of file PAutoRunParser.h.
Referenced by ConvertField(), ConvertFieldDanfysik(), ConvertFieldWEWH(), ConvertFieldWEWL(), ConvertLoopField(), ConvertLoopFieldDanfysik(), ConvertLoopFieldWEWH(), ConvertLoopFieldWEWL(), ConvertOdbSetData(), ConvertOdbSetDataArray(), ConvertRA_HV(), ConvertSpinRot(), ConvertToXML(), GetParseErrorCounts(), Parse(), and PAutoRunParser().
|
private |
file name of the XML auto run sequence
Definition at line 177 of file PAutoRunParser.h.
Referenced by ConvertToXML(), and Parse().
|
private |
vector holding all the parse error information
Definition at line 233 of file PAutoRunParser.h.
Referenced by ConvertField(), ConvertFieldDanfysik(), ConvertFieldWEWH(), ConvertFieldWEWL(), ConvertLoopField(), ConvertLoopFieldDanfysik(), ConvertLoopFieldWEWH(), ConvertLoopFieldWEWL(), ConvertOdbSetData(), ConvertOdbSetDataArray(), ConvertRA_HV(), ConvertSpinRot(), ConvertToXML(), GetXMLParseErrorVector(), Parse(), and PAutoRunParser().