#include <AssociativeIterator.h>
Public Types | |
typedef KeyRefType | key_type |
typedef KeyRefType::value_type | key_val_type |
typedef AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter > | self_type |
typedef helper::AssociativeCollectionValueType< AssociativeCollection >::type | val_type |
typedef std::pair< key_type, val_type > | value_type |
Public Member Functions | |
AssociativeIterator (const AssociativeCollection &map, const ItemGetter &getter) | |
Create the associative iterator, pointing at the beginning of the collection. More... | |
self_type | end () const |
const value_type * | get () const |
const ProductID & | id () const |
const key_type & | key () const |
self_type & | nextProductID () |
operator bool () const | |
bool | operator!= (const self_type &other) const |
const value_type & | operator* () const |
self_type & | operator++ () |
self_type & | operator-- () |
const value_type * | operator-> () const |
bool | operator< (const self_type &other) const |
bool | operator== (const self_type &other) const |
const val_type & | val () const |
Private Types | |
typedef id_offset_vector::const_iterator | id_offset_iterator |
typedef AssociativeCollection::id_offset_vector | id_offset_vector |
Private Member Functions | |
void | chkPair () const |
Private Attributes | |
ItemGetter | getter_ |
size_t | idx_ |
id_offset_iterator | ioi2_ |
id_offset_iterator | ioi_ |
const AssociativeCollection & | map_ |
value_type | pair_ |
bool | pairOk_ |
Definition at line 114 of file AssociativeIterator.h.
|
private |
Definition at line 148 of file AssociativeIterator.h.
|
private |
Definition at line 147 of file AssociativeIterator.h.
typedef KeyRefType edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::key_type |
Definition at line 116 of file AssociativeIterator.h.
typedef KeyRefType::value_type edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::key_val_type |
Definition at line 117 of file AssociativeIterator.h.
typedef AssociativeIterator<KeyRefType,AssociativeCollection,ItemGetter> edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::self_type |
Definition at line 121 of file AssociativeIterator.h.
typedef helper::AssociativeCollectionValueType<AssociativeCollection>::type edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::val_type |
Definition at line 118 of file AssociativeIterator.h.
typedef std::pair<key_type, val_type> edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::value_type |
Definition at line 119 of file AssociativeIterator.h.
edm::AssociativeIterator< KeyRefType, AC, IG >::AssociativeIterator | ( | const AssociativeCollection & | map, |
const ItemGetter & | getter | ||
) |
Create the associative iterator, pointing at the beginning of the collection.
Definition at line 163 of file AssociativeIterator.h.
|
private |
Definition at line 222 of file AssociativeIterator.h.
References edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::getter_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::idx_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::ioi_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::map_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::pair_, and edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::pairOk_.
AssociativeIterator< KeyRefType, AC, IG > edm::AssociativeIterator< KeyRefType, AC, IG >::end | ( | void | ) | const |
Definition at line 213 of file AssociativeIterator.h.
References edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::getter_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::idx_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::ioi2_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::ioi_, and edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::map_.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 133 of file AssociativeIterator.h.
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 137 of file AssociativeIterator.h.
|
inline |
Definition at line 135 of file AssociativeIterator.h.
AssociativeIterator< KeyRefType, AC, IG > & edm::AssociativeIterator< KeyRefType, AC, IG >::nextProductID | ( | ) |
Definition at line 194 of file AssociativeIterator.h.
References edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::idx_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::ioi2_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::ioi_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::map_, and edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::pairOk_.
|
inline |
Definition at line 139 of file AssociativeIterator.h.
References end.
|
inline |
Definition at line 143 of file AssociativeIterator.h.
References edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::idx_.
|
inline |
Definition at line 131 of file AssociativeIterator.h.
AssociativeIterator< KeyRefType, AC, IG > & edm::AssociativeIterator< KeyRefType, AC, IG >::operator++ | ( | ) |
Definition at line 171 of file AssociativeIterator.h.
References edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::idx_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::ioi2_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::ioi_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::map_, and edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::pairOk_.
AssociativeIterator< KeyRefType, AC, IG > & edm::AssociativeIterator< KeyRefType, AC, IG >::operator-- | ( | ) |
Definition at line 183 of file AssociativeIterator.h.
References edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::idx_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::ioi2_, edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::ioi_, and edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::pairOk_.
|
inline |
Definition at line 132 of file AssociativeIterator.h.
|
inline |
Definition at line 144 of file AssociativeIterator.h.
References edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::idx_.
|
inline |
Definition at line 142 of file AssociativeIterator.h.
References edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::idx_.
|
inline |
Definition at line 136 of file AssociativeIterator.h.
|
private |
Definition at line 153 of file AssociativeIterator.h.
Referenced by edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::chkPair(), and edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::end().
|
private |
Definition at line 151 of file AssociativeIterator.h.
Referenced by edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::chkPair(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::end(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::nextProductID(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::operator!=(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::operator++(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::operator--(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::operator<(), and edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::operator==().
|
private |
Definition at line 150 of file AssociativeIterator.h.
Referenced by edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::end(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::nextProductID(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::operator++(), and edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::operator--().
|
private |
Definition at line 150 of file AssociativeIterator.h.
Referenced by edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::chkPair(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::end(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::nextProductID(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::operator++(), and edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::operator--().
|
private |
Definition at line 149 of file AssociativeIterator.h.
Referenced by edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::chkPair(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::end(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::nextProductID(), and edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::operator++().
|
mutableprivate |
Definition at line 156 of file AssociativeIterator.h.
Referenced by edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::chkPair().
|
mutableprivate |
Definition at line 155 of file AssociativeIterator.h.
Referenced by edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::chkPair(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::nextProductID(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::operator++(), and edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >::operator--().