19 typedef typename std::vector< T >::iterator
iterator;
65 const_iterator
begin(
int bx )
const;
68 const_iterator
end(
int bx )
const;
71 unsigned size(
int bx )
const;
80 void erase(
int bx,
unsigned i);
83 void insert(
int bx,
unsigned i,
T object );
92 const T&
at(
int bx,
unsigned i )
const;
95 void set(
int bx,
unsigned i ,
const T &
object);
104 unsigned int key(const_iterator & iter)
const {
return iter -
begin(); }
112 std::vector<void const*>& pointers,
115 void setPtr(std::type_info
const& toType,
117 void const*& ptr)
const;
119 std::vector<unsigned long>
const& indices,
120 std::vector<void const*>& ptrs)
const;
144 #include "BXVector.impl" void resizeAll(unsigned size)
void insert(int bx, unsigned i, T object)
std::vector< T >::size_type size_type
T & operator[](std::size_t i)
const_iterator begin() const
unsigned int key(const_iterator &iter) const
bool isEmpty(int bx) const
void fillPtrVector(std::type_info const &toType, std::vector< unsigned long > const &indices, std::vector< void const * > &ptrs) const
std::vector< T >::iterator iterator
void fillView(edm::ProductID const &id, std::vector< void const * > &pointers, edm::FillViewHelperVector &helpers) const
const T & operator[](std::size_t i) const
const_iterator end() const
unsigned indexFromBX(int bx) const
std::vector< T > data_
internal data representation:
void resize(int bx, unsigned size)
void setBXRange(int bxFirst, int bxLast)
void erase(int bx, unsigned i)
std::vector< unsigned > itrs_
void setPtr(std::type_info const &toType, unsigned long index, void const *&ptr) const
std::vector< std::pair< edm::ProductID, unsigned long > > FillViewHelperVector
BXVector(unsigned size=0, int bxFirst=0, int bxLast=0)
void push_back(int bx, T object)
std::vector< T >::const_iterator const_iterator
const T & at(int bx, unsigned i) const