27 MacroParser(QSharedPointer<VespucciDataset> dataset);
30 void Error(
int &error_line,
int &error_param);
32 void ExecuteCommand(QString command, QStringList params);
33 bool ValidateCommand(QString command, QStringList params,
int ¶m_error);
34 bool ToBool(
const QString ¶m);
40 QList<QPair<QString, QStringList> > commands_;
45 QMap<QString, QStringList> valid_commands_;
50 QSharedPointer<VespucciDataset> dataset_;
64 #endif // MACROPARSER_H
MacroParser(QSharedPointer< VespucciDataset > dataset)
bool LoadMacro(QString macro)
MacroParser::LoadMacro.
void Error(int &error_line, int &error_param)
bool ExecuteMacro()
MacroParser::ExecuteMacro Iteratively executes the commands in commands_. Each command is first valid...