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 |
bool | isEqual (const SiStripKey &) const |
bool | isInvalid () const |
bool | isInvalid (const sistrip::Granularity &) const |
bool | isValid () const |
bool | isValid (const sistrip::Granularity &) const |
virtual void | print (std::stringstream &ss) const |
SiStripNullKey () | |
virtual void | terse (std::stringstream &ss) const |
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 () |
void | initFromPath () |
void | initFromValue () |
void | initGranularity () |
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 21 of file SiStripNullKey.h.
SiStripNullKey::SiStripNullKey | ( | ) |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
|
virtual |
"Consistent" means identical and/or null (ie, "all") data.
Reimplemented from SiStripKey.
Definition at line 20 of file SiStripNullKey.cc.
References isEqual().
|
virtual |
Identifies key objects with identical member data.
Reimplemented from SiStripKey.
Definition at line 13 of file SiStripNullKey.cc.
Referenced by isConsistent().
|
virtual |
Identifies all member data as being invalid.
Reimplemented from SiStripKey.
Definition at line 38 of file SiStripNullKey.cc.
|
virtual |
All member data to level of "Granularity" are invalid. If sistrip::Granularity is "undefined", returns true.
Reimplemented from SiStripKey.
Definition at line 44 of file SiStripNullKey.cc.
|
virtual |
Identifies all member data as being "valid" or null ("all").
Reimplemented from SiStripKey.
Definition at line 26 of file SiStripNullKey.cc.
Referenced by print().
|
virtual |
All member data to level of "Granularity" are valid. If sistrip::Granularity is "undefined", returns false.
Reimplemented from SiStripKey.
Definition at line 32 of file SiStripNullKey.cc.
|
virtual |
Print member data of the key
Reimplemented from SiStripKey.
Definition at line 66 of file SiStripNullKey.cc.
References SiStripKey::channel(), SiStripEnumsAndStrings::granularity(), SiStripKey::granularity(), isValid(), SiStripKey::key(), and SiStripKey::path().
Referenced by operator<<().
|
inlinevirtual |
A terse summary of the key
Reimplemented from SiStripKey.
Definition at line 58 of file SiStripNullKey.h.