BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
IfdIntKey Class Reference

#include <IfdIntKey.h>

+ Inheritance diagram for IfdIntKey:

Public Member Functions

 IfdIntKey (const int i)
 
virtual int operator== (const IfdKey &k) const
 
virtual ~IfdIntKey ()
 
virtual IfdKeyclone (void) const
 
virtual void print (std::ostream &o) const
 
 IfdIntKey (const int i)
 
virtual int operator== (const IfdKey &k) const
 
virtual ~IfdIntKey ()
 
virtual IfdKeyclone (void) const
 
virtual void print (std::ostream &o) const
 
- Public Member Functions inherited from IfdKey
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
 

Additional Inherited Members

- Static Public Member Functions inherited from IfdKey
static unsigned int nHashBuckets (void)
 
static unsigned int nHashBuckets (void)
 
- Public Attributes inherited from IfdKey
unsigned int _hashVal
 
int intVal
 
unsigned int uintVal
 
char * strVal
 
- Protected Types inherited from IfdKey
enum  { _nHashBuckets = 1031 }
 
enum  keyKind {
  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
}
 
- Protected Member Functions inherited from IfdKey
 IfdKey (keyKind kind)
 
IfdKey::keyKind getKeyKind (void) const
 
 IfdKey (keyKind kind)
 
IfdKey::keyKind getKeyKind (void) const
 
- Protected Attributes inherited from IfdKey
keyKind _myKeyKind
 
int _myCardinality
 
union {
   int   intVal
 
   unsigned int   uintVal
 
   char *   strVal
 
}; 
 
union {
   int   intVal
 
   unsigned int   uintVal
 
   char *   strVal
 
}; 
 

Detailed Description

Constructor & Destructor Documentation

◆ IfdIntKey() [1/2]

◆ ~IfdIntKey() [1/2]

virtual IfdIntKey::~IfdIntKey ( )
inlinevirtual

Definition at line 37 of file InstallArea/include/ProxyDict/ProxyDict/IfdIntKey.h.

37{}

◆ IfdIntKey() [2/2]

IfdIntKey::IfdIntKey ( const int  i)

◆ ~IfdIntKey() [2/2]

virtual IfdIntKey::~IfdIntKey ( )
inlinevirtual

Member Function Documentation

◆ clone() [1/2]

virtual IfdKey * IfdIntKey::clone ( void  ) const
inlinevirtual

Implements IfdKey.

Definition at line 39 of file InstallArea/include/ProxyDict/ProxyDict/IfdIntKey.h.

39{ return new IfdIntKey( intVal ); }

◆ clone() [2/2]

virtual IfdKey * IfdIntKey::clone ( void  ) const
inlinevirtual

Implements IfdKey.

Definition at line 39 of file Reconstruction/MdcPatRec/ProxyDict/ProxyDict-00-00-01/ProxyDict/IfdIntKey.h.

39{ return new IfdIntKey( intVal ); }

◆ operator==() [1/2]

virtual int IfdIntKey::operator== ( const IfdKey k) const
inlinevirtual

Implements IfdKey.

Definition at line 33 of file InstallArea/include/ProxyDict/ProxyDict/IfdIntKey.h.

33 {
34 return ( intKey == k.getKeyKind() ) && ( intVal == k.intVal );
35 }
IfdKey::keyKind getKeyKind(void) const

◆ operator==() [2/2]

virtual int IfdIntKey::operator== ( const IfdKey k) const
inlinevirtual

Implements IfdKey.

Definition at line 33 of file Reconstruction/MdcPatRec/ProxyDict/ProxyDict-00-00-01/ProxyDict/IfdIntKey.h.

33 {
34 return ( intKey == k.getKeyKind() ) && ( intVal == k.intVal );
35 }

◆ print() [1/2]

virtual void IfdIntKey::print ( std::ostream &  o) const
inlinevirtual

Implements IfdKey.

Definition at line 43 of file InstallArea/include/ProxyDict/ProxyDict/IfdIntKey.h.

47 { o << "IfdIntKey(" << intVal << ")"; }

◆ print() [2/2]

virtual void IfdIntKey::print ( std::ostream &  o) const
inlinevirtual

Implements IfdKey.

Definition at line 43 of file Reconstruction/MdcPatRec/ProxyDict/ProxyDict-00-00-01/ProxyDict/IfdIntKey.h.

47 { o << "IfdIntKey(" << intVal << ")"; }

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