00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: IfdKey.cxx,v 1.1.1.1 2005/04/21 01:18:05 zhangy Exp $ 00004 // 00005 // Description: 00006 // 00007 // Author List: 00008 // Ed Frank University of Pennsylvania 00009 // 00010 // History: 00011 // Ed Frank 17 Nov 96 Creation of first version 00012 // 00013 // Bugs: 00014 // 00015 //------------------------------------------------------------------------ 00016 //#include "BaBar/BaBar.hh" 00017 #include "ProxyDict/IfdKey.h" 00018 #if !(defined(__GNUC__) && (__GNUC__ < 3) && (__GNUC_MINOR__ < 95)) // BABAR_IOSTREAMS_MIGRATION 00019 using std::ostream; 00020 #endif // BABAR_IOSTREAMS_MIGRATION 00021 00022 00023 IfdKey::IfdKey( keyKind kind ) 00024 : _hashVal( 0 ) 00025 , _myKeyKind( kind ) 00026 , _myCardinality( 0 ) 00027 {} 00028 00029 IfdKey::~IfdKey() 00030 {} 00031 00032 00033 void 00034 IfdKey::add( const IfdKey& ) { 00035 // only makes sense for the composite class. 00036 00037 assert( 0 ); 00038 } 00039 00040 void 00041 IfdKey::make_vtab( void ) const { 00042 // bogus virtual non-inline routine to get vtab emitted. 00043 } 00044 00045 ostream& operator<<( ostream &o, const IfdKey & k ) { 00046 k.print(o); 00047 return o; 00048 }