Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

IfdKey Class Reference

#include <IfdKey.h>

Inheritance diagram for IfdKey:

IfdIntKey IfdIntKey IfdStrKey IfdStrKey List of all members.

Public Member Functions

virtual void add (const IfdKey &)
virtual void add (const IfdKey &)
int cardinality (void) const
int cardinality (void) const
virtual IfdKeyclone (void) const =0
virtual IfdKeyclone (void) const =0
virtual unsigned int hash (void) const
virtual unsigned int hash (void) const
int operator!= (const IfdKey &k) const
int operator!= (const IfdKey &k) const
virtual int operator== (const IfdKey &) const =0
virtual int operator== (const IfdKey &) const =0
virtual void print (std::ostream &o) const =0
virtual void print (std::ostream &o) const =0
virtual ~IfdKey ()
virtual ~IfdKey ()

Static Public Member Functions

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

Public Attributes

unsigned int _hashVal

Protected Types

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

Protected Member Functions

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

Protected Attributes

int _myCardinality
keyKind _myKeyKind
int intVal
char * strVal
char * strVal
unsigned int uintVal

Private Member Functions

 IfdKey (const IfdKey &)
 IfdKey (const IfdKey &)
virtual void make_vtab (void) const
virtual void make_vtab (void) const
IfdKeyoperator= (IfdKey &)
IfdKeyoperator= (IfdKey &)

Friends

class BdbOdfIfdTypeKeyIFace
class IfdCompositeKey
class IfdIntKey
unsigned ifdKeyHash (const IfdDictKey &k)
unsigned ifdKeyHash (const IfdDictKey &k)
class IfdStrKey
class IfdTypeKeyIFace
std::ostreamoperator<< (std::ostream &o, const IfdKey &k)
std::ostreamoperator<< (std::ostream &o, const IfdKey &k)

Member Enumeration Documentation

anonymous enum [protected]
 

Enumeration values:
_nHashBuckets 
00086 { _nHashBuckets = 1031 }; // .33 msec/ev, not opt

anonymous enum [protected]
 

Enumeration values:
_nHashBuckets 
00086 { _nHashBuckets = 1031 }; // .33 msec/ev, not opt

enum IfdKey::keyKind [protected]
 

Enumeration values:
intKey 
strKey 
compositeKey 
typeKey 
odfTypeKey 
00088                 { intKey, strKey, compositeKey,
00089                    typeKey, odfTypeKey };

enum IfdKey::keyKind [protected]
 

Enumeration values:
intKey 
strKey 
compositeKey 
typeKey 
odfTypeKey 
00088                 { intKey, strKey, compositeKey,
00089                    typeKey, odfTypeKey };


Constructor & Destructor Documentation

IfdKey::~IfdKey  )  [virtual]
 

00030 {}

IfdKey::IfdKey keyKind  kind  )  [protected]
 

00024   : _hashVal( 0 )
00025   , _myKeyKind( kind ) 
00026   , _myCardinality( 0 )
00027 {}

IfdKey::IfdKey const IfdKey  )  [inline, private]
 

00158 { ::abort(); }

virtual IfdKey::~IfdKey  )  [virtual]
 

IfdKey::IfdKey keyKind  kind  )  [protected]
 

IfdKey::IfdKey const IfdKey  )  [inline, private]
 

00158 { ::abort(); }


Member Function Documentation

virtual void IfdKey::add const IfdKey  )  [virtual]
 

void IfdKey::add const IfdKey  )  [virtual]
 

00034                            {
00035   // only makes sense for the composite class.
00036 
00037   assert( 0 );
00038 }

int IfdKey::cardinality void   )  const [inline]
 

int IfdKey::cardinality void   )  const [inline]
 

00166                               { 
00167 //*****************************************************************************
00168     return _myCardinality;
00169 }

virtual IfdKey* IfdKey::clone void   )  const [pure virtual]
 

Implemented in IfdIntKey, IfdStrKey, IfdIntKey, and IfdStrKey.

virtual IfdKey* IfdKey::clone void   )  const [pure virtual]
 

Implemented in IfdIntKey, IfdStrKey, IfdIntKey, and IfdStrKey.

IfdKey::keyKind IfdKey::getKeyKind void   )  const [inline, protected]
 

00098 { return _myKeyKind; }

IfdKey::keyKind IfdKey::getKeyKind void   )  const [inline, protected]
 

00098 { return _myKeyKind; }

virtual unsigned int IfdKey::hash void   )  const [inline, virtual]
 

00078         { return _hashVal;}

virtual unsigned int IfdKey::hash void   )  const [inline, virtual]
 

00078         { return _hashVal;}

virtual void IfdKey::make_vtab void   )  const [private, virtual]
 

void IfdKey::make_vtab void   )  const [private, virtual]
 

00041                               {
00042   // bogus virtual non-inline routine to get vtab emitted.
00043 }

unsigned int IfdKey::nHashBuckets void   )  [inline, static]
 

00083        { return _nHashBuckets; }

unsigned int IfdKey::nHashBuckets void   )  [inline, static]
 

00083        { return _nHashBuckets; }

int IfdKey::operator!= const IfdKey k  )  const [inline]
 

int IfdKey::operator!= const IfdKey k  )  const [inline]
 

00182                                             {
00183 //*****************************************************************************
00184 
00185     return ! ( *this == k );
00186 }

IfdKey& IfdKey::operator= IfdKey  )  [inline, private]
 

00159 { if ( this != 0 ) ::abort(); return *this; }

IfdKey& IfdKey::operator= IfdKey  )  [inline, private]
 

00159 { if ( this != 0 ) ::abort(); return *this; }

virtual int IfdKey::operator== const IfdKey  )  const [pure virtual]
 

Implemented in IfdIntKey, IfdStrKey, IfdIntKey, and IfdStrKey.

virtual int IfdKey::operator== const IfdKey  )  const [pure virtual]
 

Implemented in IfdIntKey, IfdStrKey, IfdIntKey, and IfdStrKey.

virtual void IfdKey::print std::ostream o  )  const [pure virtual]
 

Implemented in IfdIntKey, IfdStrKey, IfdIntKey, and IfdStrKey.

virtual void IfdKey::print std::ostream o  )  const [pure virtual]
 

Implemented in IfdIntKey, IfdStrKey, IfdIntKey, and IfdStrKey.


Friends And Related Function Documentation

BdbOdfIfdTypeKeyIFace [friend]
 

IfdCompositeKey [friend]
 

IfdIntKey [friend]
 

unsigned ifdKeyHash const IfdDictKey &  k  )  [friend]
 

unsigned ifdKeyHash const IfdDictKey &  k  )  [friend]
 

IfdStrKey [friend]
 

IfdTypeKeyIFace [friend]
 

std::ostream& operator<< std::ostream o,
const IfdKey k
[friend]
 

std::ostream& operator<< std::ostream o,
const IfdKey k
[friend]
 


Member Data Documentation

unsigned int IfdKey::_hashVal
 

int IfdKey::_myCardinality [protected]
 

keyKind IfdKey::_myKeyKind [protected]
 

int IfdKey::intVal [protected]
 

char* IfdKey::strVal [protected]
 

char* IfdKey::strVal [protected]
 

unsigned int IfdKey::uintVal [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:18:07 2011 for BOSS6.5.5 by  doxygen 1.3.9.1