#include <OneToMany.h>
Public Types | |
typedef edm::Ref< CVal > | data_type |
insert val type More... | |
typedef index | index_type |
index type More... | |
typedef edm::Ref< CKey > | key_type |
insert key type More... | |
typedef std::map< index_type, map_assoc > | map_type |
map type More... | |
typedef helpers::KeyVal< KeyRefProd, ValRefProd > | ref_type |
reference set type More... | |
typedef std::vector< const typename CKey::value_type * > | transient_key_vector |
transient key vector More... | |
typedef std::map< const typename CKey::value_type *, std::vector< const typename CVal::value_type * > > | transient_map_type |
transient map type More... | |
typedef std::vector< std::vector< const typename CVal::value_type * > > | transient_val_vector |
transient val vector More... | |
typedef edm::RefVector< CVal > | val_type |
values reference collection type More... | |
Static Public Member Functions | |
static void | insert (ref_type &ref, map_type &m, const key_type &k, const data_type &v) |
insert in the map More... | |
static void | insert (ref_type &ref, map_type &m, const key_type &k, const val_type &v) |
static map_type::size_type | size (const map_assoc &v) |
size of data_type More... | |
static void | sort (map_type &) |
sort More... | |
static transient_key_vector | transientKeyVector (const ref_type &ref, const map_type &map) |
fill transient key vector More... | |
static transient_map_type | transientMap (const ref_type &ref, const map_type &map) |
fill transient map More... | |
static transient_val_vector | transientValVector (const ref_type &ref, const map_type &map) |
fill transient val vector More... | |
static val_type | val (const ref_type &ref, const map_assoc &iv) |
return values collection More... | |
Private Types | |
typedef edm::RefProd< CKey > | KeyRefProd |
reference to "key" collection More... | |
typedef std::vector< index > | map_assoc |
internal map associated data More... | |
typedef edm::RefProd< CVal > | ValRefProd |
reference to "value" collection More... | |
Definition at line 12 of file OneToMany.h.
typedef edm::Ref<CVal> edm::OneToMany< CKey, CVal, index >::data_type |
insert val type
Definition at line 26 of file OneToMany.h.
typedef index edm::OneToMany< CKey, CVal, index >::index_type |
index type
Definition at line 28 of file OneToMany.h.
typedef edm::Ref<CKey> edm::OneToMany< CKey, CVal, index >::key_type |
insert key type
Definition at line 24 of file OneToMany.h.
|
private |
reference to "key" collection
Definition at line 14 of file OneToMany.h.
|
private |
internal map associated data
Definition at line 18 of file OneToMany.h.
typedef std::map<index_type, map_assoc> edm::OneToMany< CKey, CVal, index >::map_type |
map type
Definition at line 30 of file OneToMany.h.
typedef helpers::KeyVal<KeyRefProd, ValRefProd> edm::OneToMany< CKey, CVal, index >::ref_type |
reference set type
Definition at line 32 of file OneToMany.h.
typedef std::vector<const typename CKey::value_type *> edm::OneToMany< CKey, CVal, index >::transient_key_vector |
transient key vector
Definition at line 37 of file OneToMany.h.
typedef std::map<const typename CKey::value_type *, std::vector<const typename CVal::value_type *> > edm::OneToMany< CKey, CVal, index >::transient_map_type |
transient map type
Definition at line 35 of file OneToMany.h.
typedef std::vector<std::vector<const typename CVal::value_type *> > edm::OneToMany< CKey, CVal, index >::transient_val_vector |
transient val vector
Definition at line 39 of file OneToMany.h.
typedef edm::RefVector<CVal> edm::OneToMany< CKey, CVal, index >::val_type |
values reference collection type
Definition at line 22 of file OneToMany.h.
|
private |
reference to "value" collection
Definition at line 16 of file OneToMany.h.
|
inlinestatic |
insert in the map
Definition at line 41 of file OneToMany.h.
Referenced by SequenceTypes.Schedule::_replaceIfHeldDirectly(), and edm::OneToMany< std::vector< SimTrack >, std::vector< OmniClusterRef >, unsigned int >::insert().
|
inlinestatic |
Definition at line 68 of file OneToMany.h.
Referenced by SequenceTypes.Schedule::_replaceIfHeldDirectly().
|
inlinestatic |
size of data_type
Definition at line 80 of file OneToMany.h.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
inlinestatic |
|
inlinestatic |
fill transient key vector
Definition at line 103 of file OneToMany.h.
|
inlinestatic |
fill transient map
Definition at line 84 of file OneToMany.h.
|
inlinestatic |
fill transient val vector
Definition at line 113 of file OneToMany.h.
|
inlinestatic |
return values collection
Definition at line 73 of file OneToMany.h.
Referenced by edm::OneToMany< std::vector< SimTrack >, std::vector< OmniClusterRef >, unsigned int >::transientMap().