29 #include <QCoreApplication> 49 int main(
int argc,
char *argv[])
52 QCoreApplication app(argc, argv,
false);
62 cout << endl <<
"usage: lemAutoRun_validate larFile";
63 cout << endl <<
" larFile is the user autorun sequence, e.g. test.lar";
69 QString host =
"validate";
70 QString exp =
"validate";
72 QString autoRunFln = QString(argv[1]);
89 QObject::connect(autoRunParser, SIGNAL(ParseError(
int,
int,
int,
int,QString)),
90 errorHandler, SLOT(HandleErrors(
int,
int,
int,
int,QString)));
96 autoRunParser->
Parse();
100 cout << endl <<
"Autorun sequence OK" << endl << endl;
102 cout << endl << endl <<
"Number of errors encountered before giving up: " << errs;
104 cout << endl <<
"You really should consider to read the manual ;-)";
105 cout << endl << endl;
110 delete autoRunParser;
113 if (autoRunCmdVector)
114 delete autoRunCmdVector;
int GetParseErrorCounts()
QVector< AutoRunCmd > PAutoRunCmdVector
int main(int argc, char *argv[])
QString * GetXMLAutoRunValidateFln()
QVector< OdbTag > POdbTagVector
QString * GetXMLSchemaFln()