openETCS
case study for the European Train Control System developed for the authors dissertation
Port.cpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2010-2011
3  Johannes Feuser <feuser@uni-bremen.de>
4  This file is part of the openETCS library.
5 
6  The openETCS library is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  any later version.
10 
11  The openETCS library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with the openETCS library. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 /*!
21  * \author Johannes Feuser <feuser@uni-bremen.de>
22  * \brief
23  */
24 
25 #include "Port.h"
26 
27 
28 namespace GOPPRR {
29 
30 
31 CPort::CPort(const ::std::string& OID, const ::std::string& Type, const ::std::string& ID, const std::map< ::std::string, ::GOPPRR::CProperty* >& Properties) throw()
32 :CNonProperty(OID, Type, ID, Properties)
33 {
34  // Bouml preserved body begin 00026802
35  // Bouml preserved body end 00026802
36 
37 } // CPort::CPort() throw()
38 
39 
40 
41 
42 CPort::CPort(const GOPPRR::CPort& Source) throw()
43 :CNonProperty(Source)
44 {
45  // Bouml preserved body begin 00026902
46  // Bouml preserved body end 00026902
47 
48 } // CPort::CPort() throw()
49 
50 
51 
52 
53 CPort::~CPort() throw()
54 {
55  // Bouml preserved body begin 00026882
56  // Bouml preserved body end 00026882
57 
58 } // CPort::~CPort() throw()
59 
60 
61 
62 
63 GOPPRR::CPort & CPort::operator=(const GOPPRR::CPort& Source) throw()
64 {
65  // Bouml preserved body begin 00048B02
66  // call operator of base class
67  ::GOPPRR::CNonProperty::operator =(Source);
68 
69  // return reference to this instance
70  return *this;
71  // Bouml preserved body end 00048B02
72 
73 } // GOPPRR::CPort CPort::operator=() throw()
74 
75 
76 
77 
78 
79 
80 } // namespace GOPPRR

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