#include <fwd.h>
Public Types | |
using | value_type = typename data_t::value_type |
using | allocator_type = typename data_t::allocator_type |
using | reference = typename data_t::reference |
using | const_reference = typename data_t::const_reference |
using | pointer = typename data_t::pointer |
using | const_pointer = typename data_t::const_pointer |
using | iterator = typename data_t::iterator |
using | const_iterator = typename data_t::const_iterator |
using | reverse_iterator = typename data_t::reverse_iterator |
using | const_reverse_iterator = typename data_t::const_reverse_iterator |
using | difference_type = typename data_t::difference_type |
using | size_type = typename data_t::size_type |
Public Types inherited from art::PtrVectorBase | |
using | key_type = unsigned long |
using | indices_t = std::vector< key_type > |
using | size_type = indices_t::size_type |
Public Member Functions | |
PtrVector () | |
template<typename U > | |
PtrVector (PtrVector< U > const &other) | |
template<typename U > | |
PtrVector (std::initializer_list< Ptr< U >> il) | |
template<typename U > | |
PtrVector< T > & | operator= (std::initializer_list< Ptr< U >> il) |
template<typename U > | |
PtrVector< T > & | operator= (PtrVector< U > const &other)& |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
const_reverse_iterator | crbegin () const |
const_reverse_iterator | crend () const |
size_type | size () const |
size_type | max_size () const |
void | resize (size_type n) |
size_type | capacity () const |
bool | empty () const |
void | reserve (size_type n) |
void | shrink_to_fit () |
Ptr< T > const & | operator[] (unsigned long const idx) const |
reference | at (size_type n) |
const_reference | at (size_type n) const |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
template<typename U > | |
void | assign (size_type n, Ptr< U > const &p) |
template<class InputIterator > | |
void | assign (InputIterator first, InputIterator last) |
template<typename U > | |
void | assign (std::initializer_list< Ptr< U >> il) |
template<typename U > | |
void | push_back (Ptr< U > const &p) |
template<typename... Args> | |
void | emplace_back (Args &&...args) |
void | pop_back () |
template<typename U > | |
iterator | insert (iterator position, Ptr< U > const &p) |
template<typename U > | |
void | insert (iterator position, size_type n, Ptr< U > const &p) |
template<typename InputIterator > | |
iterator | insert (const_iterator position, InputIterator first, InputIterator last) |
iterator | erase (iterator position) |
iterator | erase (iterator first, iterator last) |
void | swap (PtrVector &other) |
void | swap (key_type k1, key_type k2) |
void | clear () |
bool | operator== (PtrVector const &other) const |
void | sort () |
template<class Comp > | |
void | sort (Comp comp) |
template<typename U > | |
art::PtrVector< T > & | operator= (std::initializer_list< Ptr< U >> const il) |
template<typename U > | |
art::PtrVector< T > & | operator= (PtrVector< U > const &other)& |
template<typename U > | |
art::PtrVector< T >::iterator | insert (iterator const position, Ptr< U > const &p) |
template<typename InputIterator > | |
auto | insert (const_iterator position, InputIterator first, InputIterator last) -> iterator |
Public Member Functions inherited from art::PtrVectorBase | |
virtual | ~PtrVectorBase ()=default |
bool | isNonnull () const noexcept |
bool | isNull () const noexcept |
bool | isAvailable () const |
ProductID | id () const noexcept |
EDProductGetter const * | productGetter () const noexcept |
void | setProductGetter (EDProductGetter const *) noexcept |
template<typename T > | |
art::Ptr< T >::key_type | key (Ptr< T > const &ptr) const noexcept |
Static Public Member Functions | |
static short | Class_Version () |
Private Types | |
using | data_t = std::vector< Ptr< T >> |
Private Member Functions | |
void | fill_offsets (indices_t &indices) override |
void | fill_from_offsets (indices_t const &indices) const override |
void | zeroTransients () override |
Private Attributes | |
data_t | ptrs_ {} |
Additional Inherited Members | |
Protected Member Functions inherited from art::PtrVectorBase | |
PtrVectorBase ()=default | |
void | clear () |
void | swap (PtrVectorBase &) |
void | updateCore (RefCore const &core) |
bool | operator== (PtrVectorBase const &) const noexcept |
using art::PtrVector< T >::allocator_type = typename data_t::allocator_type |
Definition at line 49 of file PtrVector.h.
using art::PtrVector< T >::const_iterator = typename data_t::const_iterator |
Definition at line 55 of file PtrVector.h.
using art::PtrVector< T >::const_pointer = typename data_t::const_pointer |
Definition at line 53 of file PtrVector.h.
using art::PtrVector< T >::const_reference = typename data_t::const_reference |
Definition at line 51 of file PtrVector.h.
using art::PtrVector< T >::const_reverse_iterator = typename data_t::const_reverse_iterator |
Definition at line 57 of file PtrVector.h.
|
private |
Definition at line 45 of file PtrVector.h.
using art::PtrVector< T >::difference_type = typename data_t::difference_type |
Definition at line 58 of file PtrVector.h.
using art::PtrVector< T >::iterator = typename data_t::iterator |
Definition at line 54 of file PtrVector.h.
using art::PtrVector< T >::pointer = typename data_t::pointer |
Definition at line 52 of file PtrVector.h.
using art::PtrVector< T >::reference = typename data_t::reference |
Definition at line 50 of file PtrVector.h.
using art::PtrVector< T >::reverse_iterator = typename data_t::reverse_iterator |
Definition at line 56 of file PtrVector.h.
using art::PtrVector< T >::size_type = typename data_t::size_type |
Definition at line 59 of file PtrVector.h.
using art::PtrVector< T >::value_type = typename data_t::value_type |
Definition at line 48 of file PtrVector.h.
|
inlinedefault |
|
inline |
Definition at line 165 of file PtrVector.h.
|
inline |
Definition at line 177 of file PtrVector.h.
|
inline |
Definition at line 403 of file PtrVector.h.
|
inline |
Definition at line 416 of file PtrVector.h.
|
inline |
Definition at line 427 of file PtrVector.h.
|
inline |
Definition at line 359 of file PtrVector.h.
|
inline |
Definition at line 366 of file PtrVector.h.
|
inline |
Definition at line 387 of file PtrVector.h.
|
inline |
Definition at line 394 of file PtrVector.h.
|
inline |
Definition at line 217 of file PtrVector.h.
|
inline |
Definition at line 224 of file PtrVector.h.
|
inline |
Definition at line 323 of file PtrVector.h.
|
inline |
Definition at line 273 of file PtrVector.h.
|
inline |
Definition at line 280 of file PtrVector.h.
|
inlinestatic |
Definition at line 140 of file PtrVector.h.
|
inline |
Definition at line 533 of file PtrVector.h.
|
inline |
Definition at line 287 of file PtrVector.h.
|
inline |
Definition at line 294 of file PtrVector.h.
|
inline |
Definition at line 448 of file PtrVector.h.
|
inline |
Definition at line 330 of file PtrVector.h.
|
inline |
Definition at line 231 of file PtrVector.h.
|
inline |
Definition at line 238 of file PtrVector.h.
|
inline |
Definition at line 504 of file PtrVector.h.
|
inline |
Definition at line 511 of file PtrVector.h.
|
overrideprivatevirtual |
Implements art::PtrVectorBase.
Definition at line 575 of file PtrVector.h.
|
overrideprivatevirtual |
Implements art::PtrVectorBase.
Definition at line 563 of file PtrVector.h.
|
inline |
Definition at line 373 of file PtrVector.h.
|
inline |
Definition at line 380 of file PtrVector.h.
iterator art::PtrVector< T >::insert | ( | iterator | position, |
Ptr< U > const & | p | ||
) |
|
inline |
Definition at line 478 of file PtrVector.h.
iterator art::PtrVector< T >::insert | ( | const_iterator | position, |
InputIterator | first, | ||
InputIterator | last | ||
) |
|
inline |
Definition at line 465 of file PtrVector.h.
|
inline |
Definition at line 493 of file PtrVector.h.
|
inline |
Definition at line 309 of file PtrVector.h.
PtrVector<T>& art::PtrVector< T >::operator= | ( | std::initializer_list< Ptr< U >> | il | ) |
PtrVector<T>& art::PtrVector< T >::operator= | ( | PtrVector< U > const & | other | ) |
|
inline |
Definition at line 192 of file PtrVector.h.
|
inline |
Definition at line 204 of file PtrVector.h.
|
inline |
Definition at line 541 of file PtrVector.h.
|
inline |
Definition at line 351 of file PtrVector.h.
|
inline |
Definition at line 457 of file PtrVector.h.
|
inline |
Definition at line 435 of file PtrVector.h.
|
inline |
Definition at line 245 of file PtrVector.h.
|
inline |
Definition at line 252 of file PtrVector.h.
|
inline |
Definition at line 259 of file PtrVector.h.
|
inline |
Definition at line 266 of file PtrVector.h.
|
inline |
Definition at line 337 of file PtrVector.h.
|
inline |
Definition at line 316 of file PtrVector.h.
|
inline |
Definition at line 344 of file PtrVector.h.
|
inline |
Definition at line 302 of file PtrVector.h.
|
inline |
Definition at line 548 of file PtrVector.h.
Definition at line 556 of file PtrVector.h.
|
inline |
Definition at line 518 of file PtrVector.h.
|
inline |
Definition at line 526 of file PtrVector.h.
|
inlineoverrideprivatevirtual |
|
mutableprivate |
Definition at line 151 of file PtrVector.h.