![]() |
ATLAS Offline Software
|
This factory is able to generate all possible identifiers, from a
fully bounded Range.
More...
#include <Range.h>
Public Member Functions | |
identifier_factory () | |
identifier_factory (const Range &range) | |
identifier_factory (const identifier_factory &)=default | |
identifier_factory & | operator= (const identifier_factory &other) |
identifier_factory & | operator= (identifier_factory &&other) |
void | operator++ () |
const ExpandedIdentifier & | operator* () const |
bool | operator== (const identifier_factory &other) const |
bool | operator!= (const identifier_factory &other) const |
Private Attributes | |
std::vector< size_type > | m_indices |
ExpandedIdentifier | m_id |
ExpandedIdentifier | m_min |
ExpandedIdentifier | m_max |
const Range * | m_range |
This factory is able to generate all possible identifiers, from a
fully bounded Range.
The precondition is that the Range used to parameterize the factory
must have all its fields completely bounded.
Definition at line 166 of file DetectorDescription/Identifier/Identifier/Range.h.
Range::identifier_factory::identifier_factory | ( | ) |
Definition at line 1746 of file DetectorDescription/Identifier/src/Range.cxx.
Fill all running identifiers m_id : the current id m_min : the set of low bounds m_max : the set of high bounds
Definition at line 1751 of file DetectorDescription/Identifier/src/Range.cxx.
|
default |
bool Range::identifier_factory::operator!= | ( | const identifier_factory & | other | ) | const |
Definition at line 1920 of file DetectorDescription/Identifier/src/Range.cxx.
const ExpandedIdentifier & Range::identifier_factory::operator* | ( | ) | const |
Definition at line 1907 of file DetectorDescription/Identifier/src/Range.cxx.
void Range::identifier_factory::operator++ | ( | ) |
The local range is not exceeded. increase the value then reset the remaining fields.
The current range field was exhausted check the previous one.
Definition at line 1828 of file DetectorDescription/Identifier/src/Range.cxx.
Range::identifier_factory & Range::identifier_factory::operator= | ( | const identifier_factory & | other | ) |
Range::identifier_factory & Range::identifier_factory::operator= | ( | identifier_factory && | other | ) |
Definition at line 1814 of file DetectorDescription/Identifier/src/Range.cxx.
bool Range::identifier_factory::operator== | ( | const identifier_factory & | other | ) | const |
Definition at line 1913 of file DetectorDescription/Identifier/src/Range.cxx.
|
private |
Definition at line 184 of file DetectorDescription/Identifier/Identifier/Range.h.
|
private |
Definition at line 183 of file DetectorDescription/Identifier/Identifier/Range.h.
|
private |
Definition at line 186 of file DetectorDescription/Identifier/Identifier/Range.h.
|
private |
Definition at line 185 of file DetectorDescription/Identifier/Identifier/Range.h.
Definition at line 187 of file DetectorDescription/Identifier/Identifier/Range.h.