class L2Gparser : public TCCparser

Class which parses the L2 global configuration file

Inheritance:


Public Methods

L2Gparser(char *saddr, char *eaddr)
Constructor to set up the class
L2Gparser(char *saddr, int size)
Constructor to set up the class

Private Fields

ScriptParser scriptp
Script parser used for read in script configurations
ToolParser toolp
Tool parser used for reading in tool configurations

Inherited from TCCparser:

Public Methods

void addParser(ObjectParser *oparser)
string errorLine(void)
void getLine(ParseString &line)
bool parseFile(char *fname)

Private Fields

string errline
ifstream ipfile
int nline
map ObjectParser *> parser
TCCparserState state

Inherited from MStream:

Public Methods

char* end(void)
MStream& operator<<(double d)
MStream& operator<<(const char *s)
MStream& operator<<(int i)
MStream& operator<<(float f)
MStream& operator>>(float &f)
MStream& operator>>(char *s)
MStream& operator>>(int &i)
MStream& operator>>(double &d)
char* start(void)

Private Fields

char* eom
char* ptr
char* som
bool swapflag

Private Methods

bool byteOrder(void)
float swap(float f)
int swap(int i)

Documentation

Class which parses the L2 global configuration file. This class inherits the parsing functionality from the generic TCCparser class. The new constructor function creates the tool and script parser objects needed to parse the L2 global configuration files and then registers them with the parser.
L2Gparser(char *saddr, int size)
Constructor to set up the class. This function calls the generic TCCparser constructor function and then creates and registers parsers for the tool and script objects in the input file for the L2 global processor.
Parameters:
saddr - start address of memory stream
size - size in bytes of ememory stream buffer

L2Gparser(char *saddr, char *eaddr)
Constructor to set up the class. This function calls the generic TCCparser constructor function and then creates and registers parsers for the tool and script objects in the input file for the L2 global processor.
Parameters:
saddr - start address of memory stream
eaddr - end address of memory stream

ToolParser toolp
Tool parser used for reading in tool configurations

ScriptParser scriptp
Script parser used for read in script configurations


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