FileParser Class Reference
[C++/Common/Parser]

#include <FileParser.h>

Inheritance diagram for FileParser:

Inheritance graph
[legend]
Collaboration diagram for FileParser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FileParser (const std::string &file)
 Ctor.
virtual ~FileParser ()
 Dtor.
bool Parse ()
 Perform the parse.

Protected Member Functions

virtual int Yyparse (const std::string &path)
 The native routine that does the actual parsing.

Protected Attributes

std::string file
 The file of interest.

Detailed Description

Definition at line 14 of file C++/Common/Parser/FileParser.h.


Constructor & Destructor Documentation

FileParser::FileParser ( const std::string &  file  ) 

Ctor.

virtual FileParser::~FileParser (  )  [virtual]

Dtor.


Member Function Documentation

bool FileParser::Parse (  )  [virtual]

Perform the parse.

Returns:
If the parse proceeded without errors return true.

Reimplemented from Parser.

Reimplemented in CommonEnviromentParser.

virtual int FileParser::Yyparse ( const std::string &  path  )  [protected, virtual]

The native routine that does the actual parsing.

This routine will usually ultimately be the "yyparse()" generated by bison.

Parameters:
path The fully qualified path name of the file of interest.
Returns:
If the parse is performed successfully then 0 is returned.


Member Data Documentation

std::string FileParser::file [protected]

The file of interest.

Definition at line 50 of file C++/Common/Parser/FileParser.h.


The documentation for this class was generated from the following file: