1 #ifndef DataFormats_Common_IndirectVectorHolder_h 2 #define DataFormats_Common_IndirectVectorHolder_h 13 class IndirectVectorHolder :
public BaseVectorHolder<T> {
32 bool empty()
const override;
34 void clear()
override;
36 std::unique_ptr<reftobase::RefVectorHolderBase>
vectorHolder()
const override {
37 return std::unique_ptr<reftobase::RefVectorHolderBase>(
helper_->
clone());
41 const holder_type*
h =
dynamic_cast<const holder_type*
>(r);
44 "In IndirectHolder<T> trying to push_back wrong reference type");
80 "In IndirectVectorHolder trying to dereference a null pointer");
85 "In IndirectVectorHolder trying to cast iterator to wrong type ");
101 template <
typename T>
105 template <
typename T>
108 template <
typename T>
112 template <
typename T>
117 template <
typename T>
123 template <
typename T>
130 template <
typename T>
135 template <
typename T>
140 template <
typename T>
142 return helper_->
id();
145 template <
typename T>
147 return helper_->productGetter();
150 template <
typename T>
152 return helper_->empty();
155 template <
typename T>
157 return helper_->size();
160 template <
typename T>
162 return helper_->clear();
165 template <
typename T>
171 template <
typename T>
size_type size() const override
std::unique_ptr< reftobase::RefVectorHolderBase > vectorHolder() const override
bool isAvailable() const override
base_type::element_type element_type
ptrdiff_t difference_type
BaseVectorHolder< T > base_type
virtual RefVectorHolderBase * clone() const =0
const_iterator end() const override
void push_back(const BaseHolder< T > *r) override
EDProductGetter const * productGetter() const override
base_type::const_iterator const_iterator
RefVectorHolderBase * helper_
#define CMS_CLASS_VERSION(_version_)
base_ref_type const at(size_type idx) const override
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="")
const_iterator begin() const override
IndirectVectorHolder & operator=(IndirectVectorHolder const &rhs)
void decrease(difference_type d) override
base_type::base_ref_type base_ref_type
difference_type difference(const const_iterator_imp *o) const override
void swap(IndirectVectorHolder< T > &lhs, IndirectVectorHolder< T > &rhs)
bool less_than(const const_iterator_imp *o) const override
const_iterator_imp_specific(const typename RefVectorHolderBase::const_iterator &it)
ptrdiff_t difference_type
bool equal_to(const const_iterator_imp *o) const override
void swap(IndirectVectorHolder &other)
void increase(difference_type d) override
const RefVectorHolderBase::const_iterator & dc(const const_iterator_imp *o) const
const_iterator_imp_specific * clone() const override
const_iterator_imp_specific()
~IndirectVectorHolder() override
virtual const_iterator begin() const =0
ProductID id() const override
base_ref_type deref() const override
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
BaseVectorHolder< T > * clone() const override
~const_iterator_imp_specific() override
virtual const_iterator end() const =0
bool empty() const override
virtual void push_back(RefHolderBase const *r)=0
virtual bool isAvailable() const =0
RefVectorHolderBase::const_iterator i
void assign(const const_iterator_imp *o) override
BaseVectorHolder< T > * cloneEmpty() const override
void swap(BaseVectorHolder &)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
void swap(BaseHolder< T > &lhs, BaseHolder< T > &rhs)