1 #ifndef DataFormats_Common_IndirectVectorHolder_h
2 #define DataFormats_Common_IndirectVectorHolder_h
14 class IndirectVectorHolder :
public BaseVectorHolder<T> {
33 virtual bool empty()
const;
37 virtual std::auto_ptr<reftobase::RefVectorHolderBase>
vectorHolder()
const {
38 return std::auto_ptr<reftobase::RefVectorHolderBase>(
helper_->
clone() );
42 const holder_type *
h =
dynamic_cast<const holder_type *
>(
r );
45 "In IndirectHolder<T> trying to push_back wrong reference type");
74 bool equal_to(
const const_iterator_imp *
o )
const {
return i == dc( o ); }
75 bool less_than(
const const_iterator_imp *
o )
const {
return i < dc( o ); }
76 void assign(
const const_iterator_imp *
o ) {
i = dc( o ); }
80 difference_type
difference(
const const_iterator_imp *
o )
const {
return i - dc( o ); }
85 "In IndirectVectorHolder trying to dereference a null pointer");
90 "In IndirectVectorHolder trying to cast iterator to wrong type ");
105 template <
typename T>
108 template <
typename T>
112 template <
typename T>
116 template <
typename T>
120 template <
typename T>
125 template <
typename T>
131 template <
typename T>
139 template <
typename T>
145 template <
typename T>
151 template <
typename T>
154 return helper_->
id();
157 template <
typename T>
159 return helper_->productGetter();
162 template <
typename T>
164 return helper_->empty();
167 template <
typename T>
169 return helper_->size();
172 template <
typename T>
174 return helper_->clear();
177 template <
typename T>
183 template <
typename T>
~const_iterator_imp_specific()
virtual size_type size() const
virtual std::auto_ptr< reftobase::RefVectorHolderBase > vectorHolder() const
base_type::element_type element_type
void increase(difference_type d)
virtual bool empty() const
BaseVectorHolder< T > base_type
const_iterator begin() const
virtual RefVectorHolderBase * clone() const =0
virtual ~IndirectVectorHolder()
virtual void push_back(const BaseHolder< T > *r)
base_type::const_iterator const_iterator
difference_type difference(const const_iterator_imp *o) const
void assign(const const_iterator_imp *o)
virtual BaseVectorHolder< T > * clone() const
const_iterator_imp_specific * clone() const
RefVectorHolderBase * helper_
#define CMS_CLASS_VERSION(_version_)
base_ref_type deref() const
base_type::size_type size_type
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
virtual void const * product() const =0
IndirectVectorHolder & operator=(IndirectVectorHolder const &rhs)
virtual ProductID id() const
base_type::base_ref_type base_ref_type
virtual BaseVectorHolder< T > * cloneEmpty() const
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
base_type::const_iterator_imp const_iterator_imp
const_iterator_imp_specific(const typename RefVectorHolderBase::const_iterator &it)
virtual const void * product() const
ptrdiff_t difference_type
const_iterator end() const
bool less_than(const const_iterator_imp *o) const
const RefVectorHolderBase::const_iterator & dc(const const_iterator_imp *o) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
void swap(IndirectVectorHolder &other)
const_iterator_imp_specific()
virtual const_iterator begin() const =0
virtual bool isAvailable() const
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
virtual base_ref_type const at(size_type idx) const
virtual const_iterator end() const =0
virtual void push_back(RefHolderBase const *r)=0
virtual bool isAvailable() const =0
RefVectorHolderBase::const_iterator i
void swap(BaseVectorHolder &)
bool equal_to(const const_iterator_imp *o) const
virtual EDProductGetter const * productGetter() const
void swap(BaseHolder< T > &lhs, BaseHolder< T > &rhs)
void decrease(difference_type d)