#include <MasterCollectionHelper.h>
Public Types | |
typedef edm::Ref< C1 > | ref_type |
Public Member Functions | |
const edm::Handle< C1 > & | get () const |
template<typename R > | |
R | getConcreteRef (size_t idx) const |
ref_type | getRef (size_t idx) const |
size_t | index (size_t i) const |
MasterCollection (const edm::Handle< C1 > &handle) | |
size_t | size () const |
Private Attributes | |
edm::Handle< C1 > | handle_ |
Definition at line 21 of file MasterCollectionHelper.h.
typedef edm::Ref<C1> helper::MasterCollection< C1 >::ref_type |
Definition at line 22 of file MasterCollectionHelper.h.
helper::MasterCollection< C1 >::MasterCollection | ( | const edm::Handle< C1 > & | handle | ) | [inline, explicit] |
Definition at line 23 of file MasterCollectionHelper.h.
: handle_(handle) { }
const edm::Handle<C1>& helper::MasterCollection< C1 >::get | ( | void | ) | const [inline] |
Definition at line 27 of file MasterCollectionHelper.h.
References helper::MasterCollection< C1 >::handle_.
{ return handle_; }
R helper::MasterCollection< C1 >::getConcreteRef | ( | size_t | idx | ) | const [inline] |
Definition at line 30 of file MasterCollectionHelper.h.
References helper::MasterCollection< C1 >::getRef().
{ return getRef(idx); }
ref_type helper::MasterCollection< C1 >::getRef | ( | size_t | idx | ) | const [inline] |
Definition at line 28 of file MasterCollectionHelper.h.
Referenced by helper::MasterCollection< edm::View< T > >::getConcreteRef(), and helper::MasterCollection< C1 >::getConcreteRef().
{ return ref_type(get(), idx); }
size_t helper::MasterCollection< C1 >::index | ( | size_t | i | ) | const [inline] |
size_t helper::MasterCollection< C1 >::size | ( | void | ) | const [inline] |
Definition at line 25 of file MasterCollectionHelper.h.
References helper::MasterCollection< C1 >::handle_.
{ return handle_->size(); }
edm::Handle<C1> helper::MasterCollection< C1 >::handle_ [private] |
Definition at line 32 of file MasterCollectionHelper.h.
Referenced by helper::MasterCollection< C1 >::get(), helper::MasterCollection< edm::View< T > >::index(), helper::MasterCollection< edm::View< T > >::MasterCollection(), and helper::MasterCollection< C1 >::size().