CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions
edm::reftobase::BaseVectorHolder< T > Class Template Referenceabstract

#include <BaseHolder.h>

Inheritance diagram for edm::reftobase::BaseVectorHolder< T >:
edm::reftobase::IndirectVectorHolder< T > edm::reftobase::VectorHolder< T, REFV >

Classes

struct  const_iterator
 
struct  const_iterator_imp
 

Public Types

typedef RefToBase< Tbase_ref_type
 
typedef T element_type
 
typedef size_t size_type
 

Public Member Functions

virtual base_ref_type const at (size_type idx) const =0
 
 BaseVectorHolder ()
 
virtual const_iterator begin () const =0
 
virtual void clear ()=0
 
virtual BaseVectorHolderclone () const =0
 
virtual BaseVectorHoldercloneEmpty () const =0
 
virtual bool empty () const =0
 
virtual const_iterator end () const =0
 
virtual ProductID id () const =0
 
virtual bool isAvailable () const =0
 
virtual EDProductGetter const * productGetter () const =0
 
virtual void push_back (BaseHolder< T > const *)=0
 
virtual size_type size () const =0
 
void swap (BaseVectorHolder &)
 
virtual std::unique_ptr< RefVectorHolderBasevectorHolder () const =0
 
virtual ~BaseVectorHolder ()
 

Static Public Member Functions

static short Class_Version ()
 

Detailed Description

template<typename T>
class edm::reftobase::BaseVectorHolder< T >

Definition at line 15 of file BaseHolder.h.

Member Typedef Documentation

template<typename T>
typedef RefToBase<T> edm::reftobase::BaseVectorHolder< T >::base_ref_type

Definition at line 18 of file BaseVectorHolder.h.

template<typename T>
typedef T edm::reftobase::BaseVectorHolder< T >::element_type

Definition at line 17 of file BaseVectorHolder.h.

template<typename T>
typedef size_t edm::reftobase::BaseVectorHolder< T >::size_type

Definition at line 16 of file BaseVectorHolder.h.

Constructor & Destructor Documentation

template<typename T>
edm::reftobase::BaseVectorHolder< T >::BaseVectorHolder ( )
inline

Definition at line 19 of file BaseVectorHolder.h.

19 {}
template<typename T>
virtual edm::reftobase::BaseVectorHolder< T >::~BaseVectorHolder ( )
inlinevirtual

Member Function Documentation

template<typename T>
virtual base_ref_type const edm::reftobase::BaseVectorHolder< T >::at ( size_type  idx) const
pure virtual
template<typename T>
virtual const_iterator edm::reftobase::BaseVectorHolder< T >::begin ( ) const
pure virtual
template<typename T>
static short edm::reftobase::BaseVectorHolder< T >::Class_Version ( )
inlinestatic

Definition at line 164 of file BaseVectorHolder.h.

171 {
template<typename T>
virtual void edm::reftobase::BaseVectorHolder< T >::clear ( )
pure virtual
template<typename T>
virtual BaseVectorHolder* edm::reftobase::BaseVectorHolder< T >::clone ( ) const
pure virtual
template<typename T>
virtual BaseVectorHolder* edm::reftobase::BaseVectorHolder< T >::cloneEmpty ( ) const
pure virtual
template<typename T>
virtual bool edm::reftobase::BaseVectorHolder< T >::empty ( ) const
pure virtual
template<typename T>
virtual const_iterator edm::reftobase::BaseVectorHolder< T >::end ( ) const
pure virtual
template<typename T>
virtual ProductID edm::reftobase::BaseVectorHolder< T >::id ( ) const
pure virtual
template<typename T>
virtual bool edm::reftobase::BaseVectorHolder< T >::isAvailable ( ) const
pure virtual

Checks if product collection is in memory or available in the Event. No type checking is done.

Implemented in edm::reftobase::VectorHolder< T, REFV >, and edm::reftobase::IndirectVectorHolder< T >.

template<typename T>
virtual EDProductGetter const* edm::reftobase::BaseVectorHolder< T >::productGetter ( ) const
pure virtual
template<typename T>
virtual void edm::reftobase::BaseVectorHolder< T >::push_back ( BaseHolder< T > const *  )
pure virtual
template<typename T>
virtual size_type edm::reftobase::BaseVectorHolder< T >::size ( ) const
pure virtual
template<typename T>
void edm::reftobase::BaseVectorHolder< T >::swap ( BaseVectorHolder< T > &  )
inline

Definition at line 32 of file BaseVectorHolder.h.

Referenced by edm::reftobase::IndirectVectorHolder< T >::swap(), and edm::reftobase::VectorHolder< T, REFV >::swap().

32 {} // nothing to swap
template<typename T>
virtual std::unique_ptr<RefVectorHolderBase> edm::reftobase::BaseVectorHolder< T >::vectorHolder ( ) const
pure virtual