class ToolParser : public ObjectParser

Class which parses a tool for the L2G from the TCC script file

Inheritance:


Public Methods

bool check(list<ObjectParam> &op)
Checks the parameter list for the tool object
ToolParser(void)
The constructor function for the class

Inherited from ObjectParser:

Public Methods

string getName(void)
bool parse(TCCparser &parser)

Private Fields

objectID id
string name

Documentation

Class which parses a tool for the L2G from the TCC script file. The class is called from the TCCparser class when it finds an object type of type "TOOL" in the input file. This object is then parser and the parameters checked by this class.
ToolParser(void)
The constructor function for the class. The routine calls the ObjectParser base class constructor function with "tool" as the object name.

bool check(list<ObjectParam> &op)
Checks the parameter list for the tool object. All tools must have the TYPE field as the first parameter and the INDEX field as their second paramter. If not this routine will stop the parser and print an error message.
Returns:
true if no errors found, false otherwise
Parameters:
op - list of object parameters


This class has no child classes.
Author:
Roger Moore (moore@pa.msu.edu)

alphabetic index hierarchy of classes


This page has been generated automatically by doc++.

Copyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de