Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:00

0001 #ifndef DataFormats_Common_OneToOne_h
0002 #define DataFormats_Common_OneToOne_h
0003 #include "DataFormats/Common/interface/OneToOneGeneric.h"
0004 
0005 namespace edm {
0006   template <typename CKey, typename CVal, typename index = unsigned int>
0007   class OneToOne : public OneToOneGeneric<CKey, CVal, index> {
0008   private:
0009     typedef OneToOneGeneric<CKey, CVal, index> base;
0010 
0011   public:
0012     /// values reference collection type
0013     typedef typename base::val_type val_type;
0014     /// insert key type
0015     typedef typename base::key_type key_type;
0016     /// insert val type
0017     typedef typename base::data_type data_type;
0018     /// index type
0019     typedef typename base::index_type index_type;
0020     /// map type
0021     typedef typename base::map_type map_type;
0022     /// reference set type
0023     typedef typename base::ref_type ref_type;
0024     /// transient map type
0025     typedef typename base::transient_map_type transient_map_type;
0026     /// transient key vector
0027     typedef typename base::transient_key_vector transient_key_vector;
0028     /// transient val vector
0029     typedef typename base::transient_val_vector transient_val_vector;
0030   };
0031 }  // namespace edm
0032 
0033 #endif