openETCS
case study for the European Train Control System developed for the authors dissertation
|
graphical container class More...
#include <GraphicalContainer.h>
Public Member Functions | |
CGraphicalContainer (GOPPRR::CObject *const pContainer, const std::map< std::string,::GOPPRR::CObject * > &ContainedObjects=std::map< std::string,::GOPPRR::CObject * >(), const std::map< std::string,::GOPPRR::CRelationship * > &ContainedRelationships=std::map< std::string,::GOPPRR::CRelationship * >()) throw () | |
defaultconstructor | |
CGraphicalContainer (const CGraphicalContainer &Source) throw () | |
copy constructor | |
CGraphicalContainer & | operator= (const CGraphicalContainer &Source) throw () |
assignment operator | |
virtual | ~CGraphicalContainer () throw () |
destructor |
Public Attributes | |
::std::map< std::string, GOPPRR::CObject * > | m_ContainedObjects |
set of contained objects by another object | |
::std::map< ::std::string, GOPPRR::CRelationship * > | m_ContainedRelationships |
set of contained relationship indexed by OID | |
GOPPRR::CObject * | m_pContainer |
pointer to container object |
graphical container class
Definition at line 42 of file GraphicalContainer.h.
GOPPRR::CGraphicalContainer::CGraphicalContainer | ( | GOPPRR::CObject *const | pContainer, |
const std::map< std::string,::GOPPRR::CObject * > & | ContainedObjects = std::map< std::string, ::GOPPRR::CObject* >() , |
||
const std::map< std::string,::GOPPRR::CRelationship * > & | ContainedRelationships = std::map< std::string, ::GOPPRR::CRelationship* >() |
||
) | throw () |
defaultconstructor
Definition at line 30 of file GraphicalContainer.cpp.
GOPPRR::CGraphicalContainer::CGraphicalContainer | ( | const CGraphicalContainer & | Source | ) | throw () |
copy constructor
[in] | Source | object to copy |
Definition at line 43 of file GraphicalContainer.cpp.
|
virtual |
destructor
Definition at line 56 of file GraphicalContainer.cpp.
GOPPRR::CGraphicalContainer & GOPPRR::CGraphicalContainer::operator= | ( | const CGraphicalContainer & | Source | ) | throw () |
assignment operator
[in] | Source | object instance to assign from |
Definition at line 66 of file GraphicalContainer.cpp.
References m_pContainer.
::std::map< std::string,GOPPRR::CObject* > GOPPRR::CGraphicalContainer::m_ContainedObjects |
set of contained objects by another object
Set of contained objects by another object indexed by their OID.
Definition at line 90 of file GraphicalContainer.h.
::std::map< ::std::string,GOPPRR::CRelationship* > GOPPRR::CGraphicalContainer::m_ContainedRelationships |
set of contained relationship indexed by OID
Definition at line 97 of file GraphicalContainer.h.
GOPPRR::CObject* GOPPRR::CGraphicalContainer::m_pContainer |
pointer to container object
Definition at line 80 of file GraphicalContainer.h.
Referenced by operator=().
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/.