CGEM BOSS 6.6.5.h
BESIII Offline Software System
|
#include <IfdKey.h>
Public Member Functions | |
virtual | ~IfdKey () |
virtual int | operator== (const IfdKey &) const =0 |
int | operator!= (const IfdKey &k) const |
virtual void | add (const IfdKey &) |
int | cardinality (void) const |
virtual void | print (std::ostream &o) const =0 |
virtual IfdKey * | clone (void) const =0 |
virtual unsigned int | hash (void) const |
Static Public Member Functions | |
static unsigned int | nHashBuckets (void) |
Public Attributes | |
unsigned int | _hashVal |
Protected Types | |
enum | { _nHashBuckets = 1031 } |
enum | keyKind { intKey , strKey , compositeKey , typeKey , odfTypeKey } |
Protected Member Functions | |
IfdKey (keyKind kind) | |
IfdKey::keyKind | getKeyKind (void) const |
Protected Attributes | ||
keyKind | _myKeyKind | |
int | _myCardinality | |
union { | ||
int intVal | ||
unsigned int uintVal | ||
char * strVal | ||
}; | ||
Friends | |
class | IfdIntKey |
class | IfdStrKey |
class | IfdTypeKeyIFace |
class | IfdCompositeKey |
class | BdbOdfIfdTypeKeyIFace |
std::ostream & | operator<< (std::ostream &o, const IfdKey &k) |
unsigned | ifdKeyHash (const IfdDictKey &k) |
|
protected |
|
virtual |
Definition at line 29 of file IfdKey.cxx.
|
protected |
Definition at line 23 of file IfdKey.cxx.
|
virtual |
Definition at line 34 of file IfdKey.cxx.
|
inline |
|
inlineprotected |
Definition at line 98 of file IfdKey.h.
Referenced by IfdStrKey::operator<(), IfdIntKey::operator==(), and IfdStrKey::operator==().
|
inlinevirtual |
|
inlinestatic |
|
inline |
|
pure virtual |
|
pure virtual |
Implemented in IfdIntKey, and IfdStrKey.
Referenced by operator<<().
|
friend |
Definition at line 132 of file IfdKey.h.
Referenced by IfdIntKey::clone().
|
friend |
|
friend |
Definition at line 133 of file IfdKey.h.
Referenced by IfdStrKey::clone().
|
friend |
union { ... } IfdKey |
unsigned int IfdKey::_hashVal |
Definition at line 80 of file IfdKey.h.
Referenced by IfdStrKey::clone(), hash(), IfdIntKey::IfdIntKey(), IfdStrKey::IfdStrKey(), IfdStrKey::IfdStrKey(), and IfdStrKey::operator==().
|
protected |
Definition at line 122 of file IfdKey.h.
Referenced by cardinality().
|
protected |
Definition at line 116 of file IfdKey.h.
Referenced by getKeyKind().
int IfdKey::intVal |
Definition at line 126 of file IfdKey.h.
Referenced by IfdIntKey::clone(), IfdIntKey::IfdIntKey(), IfdIntKey::operator==(), and IfdIntKey::print().
char* IfdKey::strVal |
Definition at line 128 of file IfdKey.h.
Referenced by IfdStrKey::asString(), IfdStrKey::clone(), IfdStrKey::IfdStrKey(), IfdStrKey::IfdStrKey(), IfdStrKey::operator<(), IfdStrKey::operator==(), IfdStrKey::print(), and IfdStrKey::~IfdStrKey().