Go to the documentation of this file. 1 #ifndef DataFormats_Common_VectorHolder_h
2 #define DataFormats_Common_VectorHolder_h
11 class RefVectorHolderBase;
13 template <
class T,
class REFV>
14 class VectorHolder :
public BaseVectorHolder<T> {
25 #if defined(__GXX_EXPERIMENTAL_CXX0X__)
51 #if defined(__GXX_EXPERIMENTAL_CXX0X__)
53 base_type::operator=(std::forward(rhs));
65 const holder_type*
h = dynamic_cast<const holder_type*>(
r);
68 "In VectorHolder<T, REFV> trying to push_back wrong reference type");
71 std::unique_ptr<RefVectorHolderBase>
vectorHolder()
const override {
110 "In RefToBaseVector<T> trying to dereference a null pointer");
114 "In RefToBaseVector<T> trying to cast iterator to wrong type ");
117 typename ref_vector_type::const_iterator
i;
122 template <
typename T,
typename REFV>
BaseVectorHolder< T > base_type
const_iterator_imp_specific(const typename REFV::const_iterator &it)
void assign(const const_iterator_imp *o) override
const ref_vector_type::const_iterator & dc(const const_iterator_imp *o) const
~const_iterator_imp_specific() override
void increase(difference_type d) override
ref_vector_type refVector_
difference_type difference(const const_iterator_imp *o) const override
const_iterator begin() const override
bool equal_to(const const_iterator_imp *o) const override
VectorHolder & operator=(VectorHolder const &rhs)
void decrease(difference_type d) override
void swap(VectorHolder &other) noexcept
ref_vector_type::const_iterator i
ptrdiff_t difference_type
bool less_than(const const_iterator_imp *o) const override
VectorHolder(VectorHolder const &rh)
const_iterator_imp_specific * clone() const override
VectorHolder(const ProductID &iId)
void swap(BaseVectorHolder &)
#define CMS_CLASS_VERSION(_version_)
void push_back(const BaseHolder< T > *r) override
base_type::const_iterator const_iterator
const_iterator end() const override
bool isAvailable() const override
const base_ref_type at(size_type idx) const override
ptrdiff_t difference_type
base_type * cloneEmpty() const override
base_type::base_ref_type base_ref_type
size_type size() const override
const_iterator_imp_specific()
void swap(BaseHolder< T > &lhs, BaseHolder< T > &rhs)
base_type * clone() const override
base_ref_type deref() const override
static void throwThis(Code category, char const *message0="", char const *message1="", char const *message2="", char const *message3="", char const *message4="")
base_type::element_type element_type
bool empty() const override
~VectorHolder() noexcept override
VectorHolder(const ref_vector_type &iRefVector)
std::unique_ptr< RefVectorHolderBase > vectorHolder() const override
ProductID id() const override
EDProductGetter const * productGetter() const override
base_type::size_type size_type