openETCS
case study for the European Train Control System developed for the authors dissertation
|
base class for all syntax transformer More...
#include <SyntaxTransformer.h>
Public Member Functions | |
CSyntaxTransformer () throw () | |
default constructor | |
::DSM::CSyntaxTree * | GetTree () const throw () |
gets pointer to generated syntax tree | |
virtual | ~CSyntaxTransformer () throw () |
destructor |
Protected Attributes | |
::DSM::CSyntaxTree * | m_pTree |
pointer to syntax tree | |
::xmlpp::DomParser | m_XMLParser |
parser object |
base class for all syntax transformer
Definition at line 45 of file SyntaxTransformer.h.
DSM::CSyntaxTransformer::CSyntaxTransformer | ( | ) | throw () |
default constructor
Definition at line 32 of file SyntaxTransformer.cpp.
|
virtual |
DSM::CSyntaxTree * DSM::CSyntaxTransformer::GetTree | ( | ) | const throw () |
gets pointer to generated syntax tree
Definition at line 56 of file SyntaxTransformer.cpp.
References m_pTree.
Referenced by oETCS::UT::CGenerator::TestGenerateCpp().
|
protected |
pointer to syntax tree
Pointer to last created syntax tree. Otherwise 0.
Definition at line 76 of file SyntaxTransformer.h.
Referenced by DSM::CGOPPRRTransformer::GetGOPRRTree(), GetTree(), and ~CSyntaxTransformer().
|
protected |
parser object
libXML++ DOM parser object for parsing model files.
Definition at line 85 of file SyntaxTransformer.h.
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/.