openETCS
case study for the European Train Control System developed for the authors dissertation
Public Member Functions | Protected Attributes | List of all members
DSM::CSyntaxTransformer Class Reference

base class for all syntax transformer More...

#include <SyntaxTransformer.h>

Inheritance diagram for DSM::CSyntaxTransformer:
Inheritance graph
Collaboration diagram for DSM::CSyntaxTransformer:
Collaboration graph

Public Member Functions

 CSyntaxTransformer () throw ()
 default constructor
::DSM::CSyntaxTreeGetTree () const throw ()
 gets pointer to generated syntax tree
virtual ~CSyntaxTransformer () throw ()
 destructor

Protected Attributes

::DSM::CSyntaxTreem_pTree
 pointer to syntax tree
::xmlpp::DomParser m_XMLParser
 parser object

Detailed Description

base class for all syntax transformer

Definition at line 45 of file SyntaxTransformer.h.

Constructor & Destructor Documentation

DSM::CSyntaxTransformer::CSyntaxTransformer ( ) throw ()

default constructor

Definition at line 32 of file SyntaxTransformer.cpp.

DSM::CSyntaxTransformer::~CSyntaxTransformer ( ) throw ()
virtual

destructor

Definition at line 43 of file SyntaxTransformer.cpp.

References m_pTree.

Member Function Documentation

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().

Here is the caller graph for this function:

Member Data Documentation

::DSM::CSyntaxTree* DSM::CSyntaxTransformer::m_pTree
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().

::xmlpp::DomParser DSM::CSyntaxTransformer::m_XMLParser
protected

parser object

libXML++ DOM parser object for parsing model files.

Definition at line 85 of file SyntaxTransformer.h.


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

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/.