#include <Association.h>
Classes | |
class | Filler |
Public Types | |
typedef ValueMap< index > | base |
typedef std::vector< std::pair< ProductID, offset > > | id_offset_vector |
meant to be used in AssociativeIterator, not by the ordinary user More... | |
typedef int | index |
typedef base::offset | offset |
typedef Ref< typename refprod_type::product_type > | reference_type |
typedef edm::RefProd< C > | refprod_type |
Public Member Functions | |
Association () | |
template<typename H > | |
Association (const H &h) | |
void | clear () |
bool | contains (ProductID id) const |
bool | empty () const |
reference_type | get (size_t rawIdx) const |
meant to be used internally or in AssociativeIterator, not by the ordinary user More... | |
reference_type | get (ProductID id, size_t idx) const |
const id_offset_vector & | ids () const |
meant to be used in AssociativeIterator, not by the ordinary user More... | |
Association< C > & | operator+= (const Association< C > &o) |
Association & | operator= (Association const &rhs) |
template<typename RefKey > | |
reference_type | operator[] (const RefKey &r) const |
refprod_type | ref () const |
void | setRef (const refprod_type &ref) |
size_t | size () const |
void | swap (Association &other) |
Static Public Member Functions | |
static short | Class_Version () |
Private Member Functions | |
void | add (const Association< C > &o) |
void | throwIndexMapBound () const |
void | throwRefSet () const |
Private Member Functions inherited from edm::ValueMap< int > | |
const_iterator | begin () const |
void | clear () |
bool | contains (ProductID id) const |
bool | empty () const |
const_iterator | end () const |
const_reference_type | get (ProductID id, size_t idx) const |
reference_type | get (ProductID id, size_t idx) |
const_reference_type | get (size_t idx) const |
meant to be used in AssociativeIterator, not by the ordinary user More... | |
const id_offset_vector & | ids () const |
meant to be used in AssociativeIterator, not by the ordinary user More... | |
size_t | idSize () const |
ValueMap< int > & | operator+= (const ValueMap< int > &o) |
ValueMap & | operator= (ValueMap const &rhs) |
const_reference_type | operator[] (const RefKey &r) const |
reference_type | operator[] (const RefKey &r) |
size_t | rawIndexOf (ProductID id, size_t idx) const |
void | shrink_to_fit () |
size_t | size () const |
void | swap (ValueMap &other) |
ValueMap () | |
id_offset_vector::const_iterator | getIdOffset (ProductID id) const |
void | throwIndexBound () const |
Private Attributes | |
refprod_type | ref_ |
Private Attributes inherited from edm::ValueMap< int > | |
id_offset_vector | ids_ |
container | values_ |
Friends | |
class | helper::Filler< Association< C > > |
Additional Inherited Members | |
Private Types inherited from edm::ValueMap< int > | |
typedef container::const_reference | const_reference_type |
typedef std::vector< value_type > | container |
typedef helper::Filler< ValueMap< int > > | Filler |
typedef std::vector< std::pair< ProductID, offset > > | id_offset_vector |
typedef unsigned int | offset |
typedef container::reference | reference_type |
typedef int | value_type |
Static Private Member Functions inherited from edm::ValueMap< int > | |
static short | Class_Version () |
Definition at line 18 of file Association.h.
typedef ValueMap<index> edm::Association< C >::base |
Definition at line 21 of file Association.h.
typedef std::vector<std::pair<ProductID, offset> > edm::ValueMap< T >::id_offset_vector |
meant to be used in AssociativeIterator, not by the ordinary user
Definition at line 112 of file ValueMap.h.
typedef int edm::Association< C >::index |
Definition at line 20 of file Association.h.
typedef base::offset edm::Association< C >::offset |
Definition at line 22 of file Association.h.
typedef Ref<typename refprod_type::product_type> edm::Association< C >::reference_type |
Definition at line 24 of file Association.h.
typedef edm::RefProd<C> edm::Association< C >::refprod_type |
Definition at line 23 of file Association.h.
|
inline |
Definition at line 26 of file Association.h.
|
inlineexplicit |
Definition at line 28 of file Association.h.
References edm::ValueMap< T >::rawIndexOf().
|
inlineprivate |
Definition at line 106 of file Association.h.
References edm::Association< C >::Filler::add(), edm::helper::Filler< Map >::fill(), and trigObjTnPSource_cfi::filler.
Referenced by edm::Association< C >::operator+=(), counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
|
inlinestatic |
Definition at line 95 of file Association.h.
|
inline |
Definition at line 66 of file Association.h.
References edm::ValueMap< T >::clear().
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
inline |
Definition at line 63 of file Association.h.
References edm::ValueMap< T >::contains().
Referenced by LumiList.LumiList::__contains__(), and pat::PATIsolatedTrackProducer::produce().
|
inline |
Definition at line 65 of file Association.h.
References edm::ValueMap< T >::empty().
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
meant to be used internally or in AssociativeIterator, not by the ordinary user
Definition at line 39 of file Association.h.
References mps_fire::i, dqmdumpme::k, edm::Association< C >::ref_, edm::Association< C >::throwIndexMapBound(), and edm::ValueMap< int >::values_.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inline |
Definition at line 49 of file Association.h.
References training_settings::idx, and edm::ValueMap< int >::rawIndexOf().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inline |
meant to be used in AssociativeIterator, not by the ordinary user
Definition at line 90 of file Association.h.
References edm::ValueMap< int >::ids_.
|
inline |
|
inline |
Definition at line 72 of file Association.h.
References edm::Association< C >::swap(), and groupFilesInBlocks::temp.
|
inline |
Definition at line 34 of file Association.h.
|
inline |
Definition at line 67 of file Association.h.
References edm::Association< C >::ref_.
Referenced by edm::Association< C >::Filler::add(), reco::utilsNew::CandMatcher< C >::operator[](), reco::utilsNew::CandMatcher< C >::ref(), and edm::Association< C >::setRef().
|
inline |
Definition at line 55 of file Association.h.
References edm::RefProd< C >::id(), edm::RefProd< C >::isNull(), edm::Association< C >::ref(), edm::Association< C >::ref_, and edm::Association< C >::throwRefSet().
|
inline |
Definition at line 64 of file Association.h.
References edm::ValueMap< T >::size().
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and MCAcceptanceAnalyzer::analyze().
|
inline |
Definition at line 68 of file Association.h.
References edm::Association< C >::ref_, edm::ValueMap< T >::swap(), and edm::RefProd< C >::swap().
Referenced by edm::Association< C >::operator=(), and edm::swap().
|
inlineprivate |
Definition at line 99 of file Association.h.
References edm::errors::InvalidReference, and edm::Exception::throwThis().
Referenced by edm::Association< C >::get().
|
inlineprivate |
Definition at line 102 of file Association.h.
References edm::errors::InvalidReference, and edm::Exception::throwThis().
Referenced by edm::Association< C >::setRef().
|
friend |
Definition at line 112 of file Association.h.
|
private |
Definition at line 98 of file Association.h.
Referenced by edm::Association< C >::get(), edm::Association< C >::ref(), edm::Association< C >::setRef(), and edm::Association< C >::swap().