KLM module array index.
More...
#include <KLMModuleArrayIndex.h>
|
uint16_t | getIndex (uint16_t number) const |
| Get element index.
|
|
uint16_t | getNumber (uint16_t index) const |
| Get element number.
|
|
uint16_t | getNElements () const |
| Get number of elements.
|
|
|
std::map< uint16_t, uint16_t > | m_MapNumberIndex |
| Map KLM element number - KLM element index.
|
|
std::map< uint16_t, uint16_t > | m_MapIndexNumber |
| Map KLM element index - KLM element number.
|
|
uint16_t | m_NElements |
| Number of elements.
|
|
KLM module array index.
Definition at line 23 of file KLMModuleArrayIndex.h.
◆ KLMModuleArrayIndex()
◆ ~KLMModuleArrayIndex()
◆ getIndex()
uint16_t getIndex |
( |
uint16_t |
number | ) |
const |
|
inherited |
Get element index.
- Parameters
-
[in] | number | Element number. |
Definition at line 52 of file KLMElementArrayIndex.cc.
53{
54 std::map<uint16_t, uint16_t>::const_iterator it =
57 B2FATAL("Incorrect KLM element number.");
58 return it->second;
59}
std::map< uint16_t, uint16_t > m_MapNumberIndex
Map KLM element number - KLM element index.
◆ getNElements()
uint16_t getNElements |
( |
| ) |
const |
|
inlineinherited |
Get number of elements.
Definition at line 55 of file KLMElementArrayIndex.h.
56 {
58 }
uint16_t m_NElements
Number of elements.
◆ getNumber()
uint16_t getNumber |
( |
uint16_t |
index | ) |
const |
|
inherited |
Get element number.
- Parameters
-
Definition at line 61 of file KLMElementArrayIndex.cc.
62{
63 std::map<uint16_t, uint16_t>::const_iterator it =
66 B2FATAL("Incorrect KLM element index.");
67 return it->second;
68}
std::map< uint16_t, uint16_t > m_MapIndexNumber
Map KLM element index - KLM element number.
◆ Instance()
◆ m_MapIndexNumber
std::map<uint16_t, uint16_t> m_MapIndexNumber |
|
privateinherited |
◆ m_MapNumberIndex
std::map<uint16_t, uint16_t> m_MapNumberIndex |
|
privateinherited |
◆ m_NElements
The documentation for this class was generated from the following files: