openETCS
case study for the European Train Control System developed for the authors dissertation
Public Member Functions | List of all members
oETCS::GEN::CGenerator Class Reference

generator base class More...

#include <Generator.h>

Inheritance diagram for oETCS::GEN::CGenerator:
Inheritance graph
Collaboration diagram for oETCS::GEN::CGenerator:
Collaboration graph

Public Member Functions

virtual void Generate (::DSM::CSyntaxTree *const pSyntaxTree,::std::ostream &OutStream)=0 throw (::oETCS::GEN::Error::CException)
 generation method

Detailed Description

generator base class

Definition at line 55 of file Generator.h.

Member Function Documentation

virtual void oETCS::GEN::CGenerator::Generate ( ::DSM::CSyntaxTree *const  pSyntaxTree,
::std::ostream &  OutStream 
) throw (::oETCS::GEN::Error::CException)
pure virtual

generation method

Generates from a syntax tree the corresponding output.

Remarks
pure virtual method, which must be reimplemented by any inheriting class.
Parameters
[in]pTreepointer to the syntax tree used for generation
[in]OutStreamStream object used for output

Implemented in oETCS::GEN::CCPPGenerator, oETCS::GEN::CVMGenerator, and oETCS::GEN::CBuildGenerator.


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

Copyright (C) 2010-2012 Johannes Feuser (feuser@uni-bremen.de)
The openETCS library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
The openETCS library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the openETCS library. If not, see "http://www.gnu.org/licenses/.