#include <Vector.h>
Public Types | |
typedef base::const_iterator | const_iterator |
typedef base::const_reference | const_reference |
typedef base::iterator | iterator |
typedef base::pointer | pointer |
typedef base::reference | reference |
typedef base::size_type | size_type |
typedef base::value_type | value_type |
Public Member Functions | |
reference | back () |
const_reference | back () const |
iterator | begin () |
const_iterator | begin () const |
void | clear () |
const base & | data () const |
bool | empty () const |
const_iterator | end () const |
iterator | end () |
iterator | erase (iterator pos) |
iterator | erase (iterator first, iterator last) |
void | fillView (ProductID const &id, std::vector< void const * > &pointers, helper_vector &helpers) const |
reference | front () |
const_reference | front () const |
Vector< T > & | operator= (const Vector< T > &) |
reference | operator[] (size_type) |
const_reference | operator[] (size_type) const |
void | pop_back () |
void | push_back (const value_type &) |
void | reserve (size_t) |
size_type | size () const |
void | swap (Vector< T > &other) |
Vector () | |
Vector (size_type) | |
Vector (const Vector &) | |
~Vector () | |
Private Types | |
typedef std::vector< T > | base |
Private Member Functions | |
void | fixup () const |
void | touch () |
Private Attributes | |
base | data_ |
helpers::PostReadFixupTrait< T > ::type | fixup_ |
typedef std::vector<T> edm::Vector< T >::base [private] |
typedef base::const_iterator edm::Vector< T >::const_iterator |
typedef base::const_reference edm::Vector< T >::const_reference |
typedef base::iterator edm::Vector< T >::iterator |
typedef base::pointer edm::Vector< T >::pointer |
typedef base::reference edm::Vector< T >::reference |
typedef base::size_type edm::Vector< T >::size_type |
typedef base::value_type edm::Vector< T >::value_type |
edm::Vector< T >::Vector | ( | ) | [inline] |
edm::Vector< T >::Vector | ( | size_type | n | ) | [inline] |
edm::Vector< T >::Vector | ( | const Vector< T > & | o | ) | [inline] |
edm::Vector< T >::~Vector | ( | ) | [inline] |
Vector< T >::reference edm::Vector< T >::back | ( | ) | [inline] |
Vector< T >::const_reference edm::Vector< T >::back | ( | ) | const [inline] |
Vector< T >::const_iterator edm::Vector< T >::begin | ( | void | ) | const [inline] |
Definition at line 114 of file Vector.h.
{ fixup(); return const_iterator(data_.begin()); }
Vector< T >::iterator edm::Vector< T >::begin | ( | void | ) | [inline] |
void edm::Vector< T >::clear | ( | void | ) | [inline] |
const Vector< T >::base & edm::Vector< T >::data | ( | ) | const [inline] |
bool edm::Vector< T >::empty | ( | ) | const [inline] |
Vector< T >::const_iterator edm::Vector< T >::end | ( | void | ) | const [inline] |
Definition at line 120 of file Vector.h.
{ fixup(); return const_iterator(data_.end()); }
Vector< T >::iterator edm::Vector< T >::end | ( | void | ) | [inline] |
Vector< T >::iterator edm::Vector< T >::erase | ( | iterator | pos | ) |
Vector< T >::iterator edm::Vector< T >::erase | ( | iterator | first, |
iterator | last | ||
) |
void edm::Vector< T >::fillView | ( | ProductID const & | id, |
std::vector< void const * > & | pointers, | ||
helper_vector & | helpers | ||
) | const |
Definition at line 224 of file Vector.h.
References ExpressReco_HICollisions_FallBack::e, h, i, combine::key, edm::reftobase::RefVectorHolderBase::push_back(), edm::reftobase::RefVectorHolderBase::reserve(), and findQualityFiles::size.
Referenced by edm::fillView().
{ typedef Ref<Vector> ref_type ; typedef reftobase::RefHolder<ref_type> holder_type; size_type numElements = this->size(); pointers.reserve(numElements); helpers.reserve(numElements); size_type key = 0; for(typename base::const_iterator i=data_.begin(), e=data_.end(); i!=e; ++i, ++key) { pointers.push_back(&*i); holder_type h(ref_type(id, &*i, key)); helpers.push_back(&h); } }
void edm::Vector< T >::fixup | ( | ) | const [inline, private] |
Definition at line 73 of file Vector.h.
References edm::Vector< T >::data_, and edm::Vector< T >::fixup_.
Vector< T >::const_reference edm::Vector< T >::front | ( | ) | const [inline] |
Vector< T >::reference edm::Vector< T >::front | ( | ) | [inline] |
Vector< T > & edm::Vector< T >::operator= | ( | const Vector< T > & | o | ) | [inline] |
Definition at line 94 of file Vector.h.
References edm::swap(), and cond::rpcobtemp::temp.
Vector< T >::const_reference edm::Vector< T >::operator[] | ( | size_type | n | ) | const [inline] |
Vector< T >::reference edm::Vector< T >::operator[] | ( | size_type | n | ) | [inline] |
void edm::Vector< T >::pop_back | ( | ) | [inline] |
void edm::Vector< T >::push_back | ( | const value_type & | ) |
void edm::Vector< T >::reserve | ( | size_t | n | ) | [inline] |
Vector< T >::size_type edm::Vector< T >::size | ( | void | ) | const [inline] |
void edm::Vector< T >::swap | ( | Vector< T > & | other | ) | [inline] |
Definition at line 218 of file Vector.h.
References edm::Vector< T >::data_, edm::hash_detail::fixup_(), edm::Vector< T >::fixup_, and edm::swap().
Referenced by edm::swap().
void edm::Vector< T >::touch | ( | ) | [inline, private] |
base edm::Vector< T >::data_ [private] |
Definition at line 71 of file Vector.h.
Referenced by edm::Vector< T >::fixup(), and edm::Vector< T >::swap().
helpers::PostReadFixupTrait<T>::type edm::Vector< T >::fixup_ [private] |
Definition at line 72 of file Vector.h.
Referenced by edm::Vector< T >::fixup(), edm::Vector< T >::swap(), and edm::Vector< T >::touch().