#include <IfdKey.h>
Inheritance diagram for IfdKey:
Public Member Functions | |
virtual void | add (const IfdKey &) |
virtual void | add (const IfdKey &) |
int | cardinality (void) const |
int | cardinality (void) const |
virtual IfdKey * | clone (void) const =0 |
virtual IfdKey * | clone (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 |
IfdKey & | operator= (IfdKey &) |
IfdKey & | operator= (IfdKey &) |
Friends | |
class | BdbOdfIfdTypeKeyIFace |
class | IfdCompositeKey |
class | IfdIntKey |
unsigned | ifdKeyHash (const IfdDictKey &k) |
unsigned | ifdKeyHash (const IfdDictKey &k) |
class | IfdStrKey |
class | IfdTypeKeyIFace |
std::ostream & | operator<< (std::ostream &o, const IfdKey &k) |
std::ostream & | operator<< (std::ostream &o, const IfdKey &k) |
|
00086 { _nHashBuckets = 1031 }; // .33 msec/ev, not opt
|
|
00086 { _nHashBuckets = 1031 }; // .33 msec/ev, not opt
|
|
00088 { intKey, strKey, compositeKey, 00089 typeKey, odfTypeKey };
|
|
00088 { intKey, strKey, compositeKey, 00089 typeKey, odfTypeKey };
|
|
00030 {}
|
|
00024 : _hashVal( 0 ) 00025 , _myKeyKind( kind ) 00026 , _myCardinality( 0 ) 00027 {}
|
|
00158 { ::abort(); }
|
|
|
|
|
|
00158 { ::abort(); }
|
|
|
|
00034 {
00035 // only makes sense for the composite class.
00036
00037 assert( 0 );
00038 }
|
|
|
|
00166 { 00167 //***************************************************************************** 00168 return _myCardinality; 00169 }
|
|
Implemented in IfdIntKey, IfdStrKey, IfdIntKey, and IfdStrKey. |
|
Implemented in IfdIntKey, IfdStrKey, IfdIntKey, and IfdStrKey. |
|
00098 { return _myKeyKind; }
|
|
00098 { return _myKeyKind; }
|
|
00078 { return _hashVal;}
|
|
00078 { return _hashVal;}
|
|
|
|
00041 {
00042 // bogus virtual non-inline routine to get vtab emitted.
00043 }
|
|
00083 { return _nHashBuckets; }
|
|
00083 { return _nHashBuckets; }
|
|
|
|
00182 { 00183 //***************************************************************************** 00184 00185 return ! ( *this == k ); 00186 }
|
|
00159 { if ( this != 0 ) ::abort(); return *this; }
|
|
00159 { if ( this != 0 ) ::abort(); return *this; }
|
|
Implemented in IfdIntKey, IfdStrKey, IfdIntKey, and IfdStrKey. |
|
Implemented in IfdIntKey, IfdStrKey, IfdIntKey, and IfdStrKey. |
|
Implemented in IfdIntKey, IfdStrKey, IfdIntKey, and IfdStrKey. |
|
Implemented in IfdIntKey, IfdStrKey, IfdIntKey, and IfdStrKey. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|