openETCS
case study for the European Train Control System developed for the authors dissertation
|
generator base class More...
#include <Generator.h>
Public Member Functions | |
virtual void | Generate (::DSM::CSyntaxTree *const pSyntaxTree,::std::ostream &OutStream)=0 throw (::oETCS::GEN::Error::CException) |
generation method |
generator base class
Definition at line 55 of file Generator.h.
|
pure virtual |
generation method
Generates from a syntax tree the corresponding output.
[in] | pTree | pointer to the syntax tree used for generation |
[in] | OutStream | Stream object used for output |
Implemented in oETCS::GEN::CCPPGenerator, oETCS::GEN::CVMGenerator, and oETCS::GEN::CBuildGenerator.
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/.