Concrete implementation of abstract base, signifying null values or an "unknown" position or view. More...
#include <SiStripNullKey.h>
Public Member Functions | |
bool | isConsistent (const SiStripKey &) const override |
bool | isEqual (const SiStripKey &) const override |
bool | isInvalid () const override |
bool | isInvalid (const sistrip::Granularity &) const override |
bool | isValid () const override |
bool | isValid (const sistrip::Granularity &) const override |
void | print (std::stringstream &ss) const override |
SiStripNullKey () | |
void | terse (std::stringstream &ss) const override |
Public Member Functions inherited from SiStripKey | |
const uint16_t & | channel () const |
const sistrip::Granularity & | granularity () const |
const uint32_t & | key () const |
const SiStripKey & | operator= (const SiStripKey &) |
const std::string & | path () const |
SiStripKey (const uint32_t &key) | |
SiStripKey (const std::string &directory_path) | |
SiStripKey (const SiStripKey &) | |
SiStripKey () | |
virtual | ~SiStripKey () |
Private Member Functions | |
void | initFromKey () override |
void | initFromPath () override |
void | initFromValue () override |
void | initGranularity () override |
Additional Inherited Members | |
Protected Member Functions inherited from SiStripKey | |
void | channel (const uint16_t &) |
void | granularity (const sistrip::Granularity &) |
void | key (const uint32_t &) |
void | path (const std::string &) |
Concrete implementation of abstract base, signifying null values or an "unknown" position or view.
Definition at line 20 of file SiStripNullKey.h.
SiStripNullKey::SiStripNullKey | ( | ) |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
overridevirtual |
"Consistent" means identical and/or null (ie, "all") data.
Reimplemented from SiStripKey.
Definition at line 22 of file SiStripNullKey.cc.
References isEqual().
|
overridevirtual |
Identifies key objects with identical member data.
Reimplemented from SiStripKey.
Definition at line 12 of file SiStripNullKey.cc.
Referenced by isConsistent().
|
overridevirtual |
Identifies all member data as being invalid.
Reimplemented from SiStripKey.
Definition at line 34 of file SiStripNullKey.cc.
|
overridevirtual |
All member data to level of "Granularity" are invalid. If sistrip::Granularity is "undefined", returns true.
Reimplemented from SiStripKey.
Definition at line 38 of file SiStripNullKey.cc.
|
overridevirtual |
Identifies all member data as being "valid" or null ("all").
Reimplemented from SiStripKey.
Definition at line 26 of file SiStripNullKey.cc.
Referenced by ntupleDataFormat._Object::_checkIsValid(), print(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
overridevirtual |
All member data to level of "Granularity" are valid. If sistrip::Granularity is "undefined", returns false.
Reimplemented from SiStripKey.
Definition at line 30 of file SiStripNullKey.cc.
Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
overridevirtual |
Print member data of the key
Reimplemented from SiStripKey.
Definition at line 58 of file SiStripNullKey.cc.
References SiStripKey::channel(), TauDecayModes::dec, SiStripEnumsAndStrings::granularity(), SiStripKey::granularity(), isValid(), SiStripKey::key(), and SiStripKey::path().
Referenced by operator<<().
|
inlineoverridevirtual |
A terse summary of the key
Reimplemented from SiStripKey.
Definition at line 55 of file SiStripNullKey.h.