openETCS
case study for the European Train Control System developed for the authors dissertation
|
object class representation More...
#include <Object.h>
Public Member Functions | |
CObject (const ::std::string &OID="", const ::std::string &Type="", const ::std::string &ID="", const std::map< ::std::string,::GOPPRR::CProperty * > &Properties=std::map< ::std::string,::GOPPRR::CProperty * >()) throw () | |
general constructor | |
CObject (const CObject &Source) throw () | |
copy constructor | |
CObject & | operator= (const CObject &Source) throw () |
assignment operator | |
::std::map< ::std::string, GOPPRR::CProperty * > | Properties (const ::std::string &Type, const bool &bSubString=false, const bool &bUseException=true) const throw (::GOPPRR::Error::CEmpty) |
abstraction method | |
virtual | ~CObject () throw () |
Public Attributes | |
::std::map< std::string, GOPPRR::CGraph * > | m_Explosions |
set of decompositions of object | |
::std::string | m_ID |
(literal) identifier of element | |
::std::string | m_OID |
unique object identifier | |
GOPPRR::CGraph * | m_pDecomposition |
pointer to decomposition of object | |
::std::map< std::string, GOPPRR::CProperty * > | m_Properties |
properties of non-properties | |
::std::string | m_Type |
name of a type |
GOPPRR::CObject::CObject | ( | const ::std::string & | OID = "" , |
const ::std::string & | Type = "" , |
||
const ::std::string & | ID = "" , |
||
const std::map< ::std::string,::GOPPRR::CProperty * > & | Properties = std::map< ::std::string, ::GOPPRR::CProperty* >() |
||
) | throw () |
general constructor
[in] | OID | object identifier |
[in] | TypeName | literal name of type |
[in] | ID | identifier |
[in] | Properties | set of property references |
Definition at line 31 of file Object.cpp.
GOPPRR::CObject::CObject | ( | const CObject & | Source | ) | throw () |
|
virtual |
Definition at line 56 of file Object.cpp.
GOPPRR::CObject & GOPPRR::CObject::operator= | ( | const CObject & | Source | ) | throw () |
assignment operator
[in] | Source | object instance to assign from |
Definition at line 66 of file Object.cpp.
References m_pDecomposition.
|
inherited |
abstraction method
Gets certain properties of a non-property object
[in] | Type | property type |
[in] | bSubString | if true, Type only must be a substring of property type |
[in] | bUseException | optional boolean flag for throwing a exception in case of an empty map |
Definition at line 90 of file NonProperty.cpp.
Referenced by oETCS::GEN::CCPPGenerator::GenerateDataFlow(), oETCS::GEN::CCPPGenerator::GenerateEVCTransitions(), oETCS::GEN::CCPPGenerator::GenerateFunctionBlockElements(), oETCS::GEN::CCPPGenerator::GenerateLanguage(), and oETCS::GEN::CCPPGenerator::GenerateRootGraph().
::std::map< std::string,GOPPRR::CGraph* > GOPPRR::CObject::m_Explosions |
set of decompositions of object
Set of decompositions of object indexed by their OID.
Definition at line 95 of file Object.h.
Referenced by DSM::CGOPPRRTransformer::CreateSyntaxIterative(), oETCS::GEN::CCPPGenerator::GenerateFunctionBlockElements(), oETCS::GEN::CCPPGenerator::GenerateLanguage(), oETCS::GEN::CCPPGenerator::GenerateRootGraph(), and oETCS::GEN::CCPPGenerator::GenerateTransitions().
|
inherited |
(literal) identifier of element
Definition at line 103 of file NonProperty.h.
Referenced by oETCS::GEN::CMain::Execute(), oETCS::GEN::CBuildGenerator::Generate(), oETCS::GEN::CVMGenerator::Generate(), oETCS::GEN::CCPPGenerator::GenerateCommunication(), oETCS::GEN::CCPPGenerator::GenerateEVCTransitions(), oETCS::GEN::CVMGenerator::GeneratePSM(), and GOPPRR::CNonProperty::operator=().
|
inherited |
unique object identifier
Definition at line 78 of file Concept.h.
Referenced by oETCS::GEN::CCPPGenerator::BuildAbstractModel(), oETCS::GEN::CCPPGenerator::GenerateCommunication(), oETCS::GEN::CCPPGenerator::GenerateDataFlow(), oETCS::GEN::CCPPGenerator::GenerateDataFlowForCommunication(), oETCS::GEN::CCPPGenerator::GenerateEVCTransitions(), oETCS::GEN::CCPPGenerator::GenerateLanguage(), oETCS::GEN::CCPPGenerator::GenerateRootGraph(), oETCS::GEN::CCPPGenerator::GenerateTransitions(), GOPPRR::CConcept::operator=(), and oETCS::UT::CGOPPRRTransformer::TestCreateSyntax().
GOPPRR::CGraph* GOPPRR::CObject::m_pDecomposition |
pointer to decomposition of object
Definition at line 85 of file Object.h.
Referenced by oETCS::GEN::CCPPGenerator::GenerateLanguage(), and operator=().
|
inherited |
properties of non-properties
Properties of non-properties indexed by their OID
Definition at line 113 of file NonProperty.h.
Referenced by oETCS::GEN::CCPPGenerator::GenerateLanguage().
|
inherited |
name of a type
Definition at line 85 of file Concept.h.
Referenced by oETCS::GEN::CCPPGenerator::GenerateControlFlows(), oETCS::GEN::CCPPGenerator::GenerateDataFlowForCommunication(), oETCS::GEN::CCPPGenerator::GenerateLanguage(), and oETCS::GEN::CCPPGenerator::GenerateTransitions().
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/.