1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef DataFormats_Common_OneToOne_h
#define DataFormats_Common_OneToOne_h
#include "DataFormats/Common/interface/OneToOneGeneric.h"
namespace edm {
template <typename CKey, typename CVal, typename index = unsigned int>
class OneToOne : public OneToOneGeneric<CKey, CVal, index> {
private:
typedef OneToOneGeneric<CKey, CVal, index> base;
public:
/// values reference collection type
typedef typename base::val_type val_type;
/// insert key type
typedef typename base::key_type key_type;
/// insert val type
typedef typename base::data_type data_type;
/// index type
typedef typename base::index_type index_type;
/// map type
typedef typename base::map_type map_type;
/// reference set type
typedef typename base::ref_type ref_type;
/// transient map type
typedef typename base::transient_map_type transient_map_type;
/// transient key vector
typedef typename base::transient_key_vector transient_key_vector;
/// transient val vector
typedef typename base::transient_val_vector transient_val_vector;
};
} // namespace edm
#endif
|