BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
IfdKey Class Referenceabstract

#include <IfdKey.h>

Inheritance diagram for IfdKey:

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 IfdKeyclone (void) const =0
virtual unsigned int hash (void) const
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 IfdKeyclone (void) const =0
virtual unsigned int hash (void) const
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 IfdKeyclone (void) const =0
virtual unsigned int hash (void) const

Static Public Member Functions

static unsigned int nHashBuckets (void)
static unsigned int nHashBuckets (void)
static unsigned int nHashBuckets (void)

Public Attributes

unsigned int _hashVal

Protected Types

enum  { _nHashBuckets = 1031 }
enum  keyKind {
  intKey , strKey , compositeKey , typeKey ,
  odfTypeKey , intKey , strKey , compositeKey ,
  typeKey , odfTypeKey , intKey , strKey ,
  compositeKey , typeKey , odfTypeKey
}
enum  { _nHashBuckets = 1031 }
enum  keyKind {
  intKey , strKey , compositeKey , typeKey ,
  odfTypeKey , intKey , strKey , compositeKey ,
  typeKey , odfTypeKey , intKey , strKey ,
  compositeKey , typeKey , odfTypeKey
}
enum  { _nHashBuckets = 1031 }
enum  keyKind {
  intKey , strKey , compositeKey , typeKey ,
  odfTypeKey , intKey , strKey , compositeKey ,
  typeKey , odfTypeKey , intKey , strKey ,
  compositeKey , typeKey , odfTypeKey
}

Protected Member Functions

 IfdKey (keyKind kind)
IfdKey::keyKind getKeyKind (void) const
 IfdKey (keyKind kind)
IfdKey::keyKind getKeyKind (void) const
 IfdKey (keyKind kind)
IfdKey::keyKind getKeyKind (void) const

Protected Attributes

keyKind _myKeyKind
int _myCardinality
union { 
   int   intVal 
   unsigned int   uintVal 
   char *   strVal 
}; 
union { 
   int   intVal 
   unsigned int   uintVal 
   char *   strVal 
}; 
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)
std::ostream & operator<< (std::ostream &o, const IfdKey &k)
unsigned ifdKeyHash (const IfdDictKey &k)
std::ostream & operator<< (std::ostream &o, const IfdKey &k)
unsigned ifdKeyHash (const IfdDictKey &k)

Detailed Description

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
_nHashBuckets 

Definition at line 85 of file InstallArea/x86_64-el9-gcc13-opt/include/ProxyDict/IfdKey.h.

85{ _nHashBuckets = 1031 }; // .33 msec/ev, not opt

◆ anonymous enum

anonymous enum
protected
Enumerator
_nHashBuckets 

Definition at line 85 of file InstallArea/x86_64-el9-gcc13-dbg/include/ProxyDict/IfdKey.h.

85{ _nHashBuckets = 1031 }; // .33 msec/ev, not opt

◆ anonymous enum

anonymous enum
protected
Enumerator
_nHashBuckets 

Definition at line 85 of file Reconstruction/MdcPatRec/ProxyDict/include/ProxyDict/IfdKey.h.

85{ _nHashBuckets = 1031 }; // .33 msec/ev, not opt

◆ keyKind [1/3]

enum IfdKey::keyKind
protected
Enumerator
intKey 
strKey 
compositeKey 
typeKey 
odfTypeKey 
intKey 
strKey 
compositeKey 
typeKey 
odfTypeKey 
intKey 
strKey 
compositeKey 
typeKey 
odfTypeKey 

Definition at line 87 of file InstallArea/x86_64-el9-gcc13-dbg/include/ProxyDict/IfdKey.h.

◆ keyKind [2/3]

enum IfdKey::keyKind
protected
Enumerator
intKey 
strKey 
compositeKey 
typeKey 
odfTypeKey 
intKey 
strKey 
compositeKey 
typeKey 
odfTypeKey 
intKey 
strKey 
compositeKey 
typeKey 
odfTypeKey 

Definition at line 87 of file InstallArea/x86_64-el9-gcc13-opt/include/ProxyDict/IfdKey.h.

◆ keyKind [3/3]

enum IfdKey::keyKind
protected
Enumerator
intKey 
strKey 
compositeKey 
typeKey 
odfTypeKey 
intKey 
strKey 
compositeKey 
typeKey 
odfTypeKey 
intKey 
strKey 
compositeKey 
typeKey 
odfTypeKey 

Definition at line 87 of file Reconstruction/MdcPatRec/ProxyDict/include/ProxyDict/IfdKey.h.

Constructor & Destructor Documentation

◆ ~IfdKey() [1/3]

IfdKey::~IfdKey ( )
virtual

Definition at line 25 of file IfdKey.cxx.

25{}

◆ IfdKey() [1/3]

◆ ~IfdKey() [2/3]

virtual IfdKey::~IfdKey ( )
virtual

◆ IfdKey() [2/3]

IfdKey::IfdKey ( keyKind kind)
protected

◆ ~IfdKey() [3/3]

virtual IfdKey::~IfdKey ( )
virtual

◆ IfdKey() [3/3]

IfdKey::IfdKey ( keyKind kind)
protected

Member Function Documentation

◆ add() [1/3]

void IfdKey::add ( const IfdKey & )
virtual

Definition at line 27 of file IfdKey.cxx.

27 {
28 // only makes sense for the composite class.
29
30 assert( 0 );
31}

◆ add() [2/3]

virtual void IfdKey::add ( const IfdKey & )
virtual

◆ add() [3/3]

virtual void IfdKey::add ( const IfdKey & )
virtual

◆ cardinality() [1/3]

int IfdKey::cardinality ( void ) const
inline

Definition at line 162 of file InstallArea/x86_64-el9-gcc13-dbg/include/ProxyDict/IfdKey.h.

162 {
163 //*****************************************************************************
164 return _myCardinality;
165}

◆ cardinality() [2/3]

int IfdKey::cardinality ( void ) const
inline

◆ cardinality() [3/3]

int IfdKey::cardinality ( void ) const
inline

◆ clone() [1/3]

virtual IfdKey * IfdKey::clone ( void ) const
pure virtual

◆ clone() [2/3]

virtual IfdKey * IfdKey::clone ( void ) const
pure virtual

◆ clone() [3/3]

virtual IfdKey * IfdKey::clone ( void ) const
pure virtual

◆ getKeyKind() [1/3]

IfdKey::keyKind IfdKey::getKeyKind ( void ) const
inlineprotected

◆ getKeyKind() [2/3]

IfdKey::keyKind IfdKey::getKeyKind ( void ) const
inlineprotected

◆ getKeyKind() [3/3]

IfdKey::keyKind IfdKey::getKeyKind ( void ) const
inlineprotected

◆ hash() [1/3]

virtual unsigned int IfdKey::hash ( void ) const
inlinevirtual

Definition at line 78 of file InstallArea/x86_64-el9-gcc13-dbg/include/ProxyDict/IfdKey.h.

78{ return _hashVal; }

◆ hash() [2/3]

virtual unsigned int IfdKey::hash ( void ) const
inlinevirtual

Definition at line 78 of file InstallArea/x86_64-el9-gcc13-opt/include/ProxyDict/IfdKey.h.

78{ return _hashVal; }

◆ hash() [3/3]

virtual unsigned int IfdKey::hash ( void ) const
inlinevirtual

◆ nHashBuckets() [1/3]

unsigned int IfdKey::nHashBuckets ( void )
inlinestatic

◆ nHashBuckets() [2/3]

unsigned int IfdKey::nHashBuckets ( void )
inlinestatic

◆ nHashBuckets() [3/3]

unsigned int IfdKey::nHashBuckets ( void )
inlinestatic

◆ operator!=() [1/3]

int IfdKey::operator!= ( const IfdKey & k) const
inline

Definition at line 176 of file InstallArea/x86_64-el9-gcc13-dbg/include/ProxyDict/IfdKey.h.

176 {
177 //*****************************************************************************
178
179 return !( *this == k );
180}

◆ operator!=() [2/3]

int IfdKey::operator!= ( const IfdKey & k) const
inline

◆ operator!=() [3/3]

int IfdKey::operator!= ( const IfdKey & k) const
inline

◆ operator==() [1/3]

virtual int IfdKey::operator== ( const IfdKey & ) const
pure virtual

◆ operator==() [2/3]

virtual int IfdKey::operator== ( const IfdKey & ) const
pure virtual

◆ operator==() [3/3]

virtual int IfdKey::operator== ( const IfdKey & ) const
pure virtual

◆ print() [1/3]

virtual void IfdKey::print ( std::ostream & o) const
pure virtual

Implemented in IfdIntKey, IfdIntKey, IfdIntKey, IfdStrKey, IfdStrKey, and IfdStrKey.

Referenced by operator<<().

◆ print() [2/3]

virtual void IfdKey::print ( std::ostream & o) const
pure virtual

◆ print() [3/3]

virtual void IfdKey::print ( std::ostream & o) const
pure virtual

◆ BdbOdfIfdTypeKeyIFace

BdbOdfIfdTypeKeyIFace
friend

◆ IfdCompositeKey

IfdCompositeKey
friend

◆ IfdIntKey

◆ ifdKeyHash [1/3]

unsigned ifdKeyHash ( const IfdDictKey & k)
friend

◆ ifdKeyHash [2/3]

unsigned ifdKeyHash ( const IfdDictKey & k)
friend

◆ ifdKeyHash [3/3]

unsigned ifdKeyHash ( const IfdDictKey & k)
friend

◆ IfdStrKey

◆ IfdTypeKeyIFace

IfdTypeKeyIFace
friend

◆ operator<< [1/3]

std::ostream & operator<< ( std::ostream & o,
const IfdKey & k )
friend

◆ operator<< [2/3]

std::ostream & operator<< ( std::ostream & o,
const IfdKey & k )
friend

◆ operator<< [3/3]

std::ostream & operator<< ( std::ostream & o,
const IfdKey & k )
friend

Member Data Documentation

◆ [union]

union { ... } IfdKey

◆ [union]

union { ... } IfdKey

◆ [union]

union { ... } IfdKey

◆ _hashVal

◆ _myCardinality

int IfdKey::_myCardinality
protected

◆ _myKeyKind

keyKind IfdKey::_myKeyKind
protected

◆ intVal

◆ strVal

◆ uintVal

unsigned int IfdKey::uintVal

The documentation for this class was generated from the following files: