openETCS
case study for the European Train Control System developed for the authors dissertation
|
property class representation More...
#include <Property.h>
Public Member Functions | |
CProperty (const ::std::string &OID="", const ::std::string &Type="", const ::std::string &Value="", const std::map< ::std::string,::GOPPRR::CNonProperty * > &NonProperties=std::map< ::std::string,::GOPPRR::CNonProperty * >()) throw () | |
general constructor | |
CProperty (const CProperty &Source) throw () | |
copy constructor | |
::std::map< ::std::string, GOPPRR::CNonProperty * > | NonProperties (const ::std::string &Type, const bool &bSubString=false) const throw () |
abstraction method | |
CProperty & | operator= (const CProperty &Source) throw () |
assignment operator | |
virtual | ~CProperty () throw () |
destructor |
Public Attributes | |
::std::map< std::string, GOPPRR::CNonProperty * > | m_NonProperties |
set of non-propeties as property value | |
::std::string | m_OID |
unique object identifier | |
::std::string | m_Type |
name of a type | |
::std::string | m_Value |
value as string |
property class representation
Definition at line 45 of file Property.h.
GOPPRR::CProperty::CProperty | ( | const ::std::string & | OID = "" , |
const ::std::string & | Type = "" , |
||
const ::std::string & | Value = "" , |
||
const std::map< ::std::string,::GOPPRR::CNonProperty * > & | NonProperties = std::map< ::std::string, ::GOPPRR::CNonProperty* >() |
||
) | throw () |
general constructor
[in] | OID | object identifier |
[in] | Type | literal name of the type |
Definition at line 32 of file Property.cpp.
GOPPRR::CProperty::CProperty | ( | const CProperty & | Source | ) | throw () |
|
virtual |
destructor
Definition at line 58 of file Property.cpp.
std::map<::std::string, GOPPRR::CNonProperty * > GOPPRR::CProperty::NonProperties | ( | const ::std::string & | Type, |
const bool & | bSubString = false |
||
) | const throw () |
abstraction method
Gets certain non-properties of a property object
[in] | Type | non-property type |
[in] | bSubString | if true, Type only must be a substring of nin-property type |
Definition at line 87 of file Property.cpp.
GOPPRR::CProperty & GOPPRR::CProperty::operator= | ( | const CProperty & | Source | ) | throw () |
assignment operator
[in] | Source | object instance to assign from |
Definition at line 68 of file Property.cpp.
References m_Value.
::std::map< std::string,GOPPRR::CNonProperty* > GOPPRR::CProperty::m_NonProperties |
set of non-propeties as property value
Definition at line 106 of file Property.h.
Referenced by DSM::CGOPPRRTransformer::CreateSyntaxIterative(), oETCS::GEN::CCPPGenerator::GenerateFunctionBlockElements(), oETCS::GEN::CCPPGenerator::GenerateLanguage(), and oETCS::GEN::CCPPGenerator::GenerateRootGraph().
|
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().
|
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().
::std::string GOPPRR::CProperty::m_Value |
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/.