00001 #ifndef DataFormats_Common_OneToOne_h 00002 #define DataFormats_Common_OneToOne_h 00003 #include "DataFormats/Common/interface/OneToOneGeneric.h" 00004 00005 namespace edm { 00006 template<typename CKey, typename CVal, typename index = unsigned int> 00007 class OneToOne : public OneToOneGeneric<CKey, CVal, index> { 00008 private: 00009 typedef OneToOneGeneric<CKey, CVal, index> base; 00010 00011 public: 00013 typedef typename base::val_type val_type; 00015 typedef typename base::key_type key_type; 00017 typedef typename base::data_type data_type; 00019 typedef typename base::index_type index_type; 00021 typedef typename base::map_type map_type; 00023 typedef typename base::ref_type ref_type; 00025 typedef typename base::transient_map_type transient_map_type; 00027 typedef typename base::transient_key_vector transient_key_vector; 00029 typedef typename base::transient_val_vector transient_val_vector; 00030 }; 00031 } 00032 00033 #endif