CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

helper::MasterCollection< C1 > Struct Template Reference

#include <MasterCollectionHelper.h>

List of all members.

Public Types

typedef edm::Ref< C1 > ref_type

Public Member Functions

const edm::Handle< C1 > & get () const
template<typename 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_

Detailed Description

template<typename C1>
struct helper::MasterCollection< C1 >

Definition at line 21 of file MasterCollectionHelper.h.


Member Typedef Documentation

template<typename C1 >
typedef edm::Ref<C1> helper::MasterCollection< C1 >::ref_type

Definition at line 22 of file MasterCollectionHelper.h.


Constructor & Destructor Documentation

template<typename C1 >
helper::MasterCollection< C1 >::MasterCollection ( const edm::Handle< C1 > &  handle) [inline, explicit]

Definition at line 23 of file MasterCollectionHelper.h.

                                                            : 
      handle_(handle) { }

Member Function Documentation

template<typename C1 >
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_; }
template<typename C1 >
template<typename R >
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); }
template<typename C1 >
ref_type helper::MasterCollection< C1 >::getRef ( size_t  idx) const [inline]
template<typename C1 >
size_t helper::MasterCollection< C1 >::index ( size_t  i) const [inline]

Definition at line 26 of file MasterCollectionHelper.h.

References i.

{ return i; }
template<typename C1 >
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(); }

Member Data Documentation

template<typename C1 >
edm::Handle<C1> helper::MasterCollection< C1 >::handle_ [private]