#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) |
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 |
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 |
Definition at line 19 of file Association.h.
typedef ValueMap<index> edm::Association< C >::base |
Definition at line 22 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 104 of file ValueMap.h.
typedef int edm::Association< C >::index |
Definition at line 21 of file Association.h.
typedef base::offset edm::Association< C >::offset |
Definition at line 23 of file Association.h.
typedef Ref<typename refprod_type::product_type> edm::Association< C >::reference_type |
Definition at line 25 of file Association.h.
typedef edm::RefProd<C> edm::Association< C >::refprod_type |
Definition at line 24 of file Association.h.
|
inline |
Definition at line 27 of file Association.h.
|
inlineexplicit |
Definition at line 29 of file Association.h.
|
inlineprivate |
Definition at line 106 of file Association.h.
References edm::Association< C >::Filler::add(), and edm::helper::Filler< Map >::fill().
Referenced by edm::Association< C >::operator+=().
|
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(), 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__().
|
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 40 of file Association.h.
References i, gen::k, edm::Association< C >::ref_, edm::Association< C >::throwIndexMapBound(), and edm::ValueMap< int >::values_.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
inline |
Definition at line 48 of file Association.h.
References edm::ValueMap< int >::rawIndexOf().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
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 35 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 >::ref(), and edm::Association< C >::setRef().
|
inline |
Definition at line 56 of file Association.h.
References edm::RefProd< T >::id(), edm::RefProd< T >::isNull(), edm::Association< C >::ref(), edm::Association< C >::ref_, and edm::Association< C >::throwRefSet().
|
inline |
|
inline |
Definition at line 68 of file Association.h.
References edm::Association< C >::ref_, edm::ValueMap< T >::swap(), and edm::RefProd< T >::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().