![]() |
ATLAS Offline Software
|
#include <TGCModuleMap.h>
Public Types | |
| using | Store_t = std::map<int, std::unique_ptr<TGCModuleId>> |
Public Member Functions | |
| TGCModuleMap ()=default | |
| TGCModuleMap (TGCModuleMap &&other)=default | |
| Move constructor. | |
| TGCModuleMap (const TGCModuleMap &)=delete | |
| Copy constructor. | |
| TGCModuleMap & | operator= (TGCModuleMap &&other)=default |
| Move assignment operator. | |
| TGCModuleMap & | operator= (const TGCModuleMap &other)=delete |
| Copy assignment operator. | |
| Store_t::const_iterator | begin () const |
| Returns the begin iterator of the underlying map. | |
| Store_t::const_iterator | end () const |
| Returns the end iterator of the underlying map. | |
| Store_t::iterator | begin () |
| Store_t::iterator | end () |
| virtual | ~TGCModuleMap () |
| std::unique_ptr< TGCModuleId > | popModule (const int connector) |
| Return a certain module and remove it from the map. | |
| void | insert (int connector, std::unique_ptr< TGCModuleId > moduleId) |
| std::size_t | size () const |
| bool | empty () const |
| void | clear () |
Private Attributes | |
| Store_t | m_moduleMap |
Definition at line 15 of file TGCModuleMap.h.
| using MuonTGC_Cabling::TGCModuleMap::Store_t = std::map<int, std::unique_ptr<TGCModuleId>> |
Definition at line 17 of file TGCModuleMap.h.
|
default |
|
default |
Move constructor.
|
delete |
Copy constructor.
|
virtualdefault |
| TGCModuleMap::Store_t::iterator MuonTGC_Cabling::TGCModuleMap::begin | ( | ) |
Definition at line 26 of file TGCModuleMap.cxx.
| TGCModuleMap::Store_t::const_iterator MuonTGC_Cabling::TGCModuleMap::begin | ( | ) | const |
Returns the begin iterator of the underlying map.
Definition at line 20 of file TGCModuleMap.cxx.
| void MuonTGC_Cabling::TGCModuleMap::clear | ( | ) |
Definition at line 45 of file TGCModuleMap.cxx.
| bool MuonTGC_Cabling::TGCModuleMap::empty | ( | ) | const |
Definition at line 38 of file TGCModuleMap.cxx.
| TGCModuleMap::Store_t::iterator MuonTGC_Cabling::TGCModuleMap::end | ( | ) |
Definition at line 29 of file TGCModuleMap.cxx.
| TGCModuleMap::Store_t::const_iterator MuonTGC_Cabling::TGCModuleMap::end | ( | ) | const |
Returns the end iterator of the underlying map.
Definition at line 23 of file TGCModuleMap.cxx.
| void MuonTGC_Cabling::TGCModuleMap::insert | ( | int | connector, |
| std::unique_ptr< TGCModuleId > | moduleId ) |
Definition at line 33 of file TGCModuleMap.cxx.
|
delete |
Copy assignment operator.
|
default |
Move assignment operator.
| std::unique_ptr< TGCModuleId > MuonTGC_Cabling::TGCModuleMap::popModule | ( | const int | connector | ) |
Return a certain module and remove it from the map.
| port | Connector port of the module |
Definition at line 11 of file TGCModuleMap.cxx.
| std::size_t MuonTGC_Cabling::TGCModuleMap::size | ( | ) | const |
Definition at line 41 of file TGCModuleMap.cxx.
|
private |
Definition at line 52 of file TGCModuleMap.h.