![]() |
ATLAS Offline Software
|
#include <AthenaHitsVector.h>
Classes | |
struct | make_const |
Public Types | |
using | base_value_type = T |
using | CONT = std::vector< T * > |
using | value_type = typename CONT::value_type |
using | pointer = typename CONT::pointer |
using | reference = typename CONT::reference |
using | iterator = typename CONT::iterator |
using | size_type = typename CONT::size_type |
using | difference_type = typename CONT::difference_type |
using | const_pointer = const T *const * |
using | const_reference = const T *const & |
using | const_iterator = boost::transform_iterator< make_const, typename CONT::const_iterator > |
Public Member Functions | |
AthenaHitsVector (const std::string &collectionName="DefaultCollectionName", AthHitVec::OwnershipPolicy ownPolicy=AthHitVec::OWN_ELEMENTS) | |
~AthenaHitsVector () override | |
void | Clear () |
void | Clear (AthHitVec::OwnershipPolicy ownPolicy) |
void | Insert (T *h) |
int | Size () const |
AthenaHitsVector (const AthenaHitsVector< T > &rhs) | |
copy constructor makes deep copy of elements, as by default the container is AthHitVec::OWN_ELEMENTS More... | |
AthenaHitsVector< T > & | operator= (const AthenaHitsVector< T > &rhs) |
assignment deletes old elements and copies the new ones deep copy if AthHitVec::OWN_ELEMENTS shallow copy if VIEW_ELEMENTS More... | |
const std::string & | Name () const |
void | setName (const std::string &name) |
const std::vector< T * > & | getVector () |
bool | empty () const |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
size_type | size () const |
void | push_back (T *t) |
void | push_back (std::unique_ptr< T > t) |
const T * | At (unsigned int pos) const |
const T * | operator[] (size_type n) const |
void | resize (size_type sz) |
void | clear () |
void | reserve (size_type n) |
Static Public Member Functions | |
static const std::type_info * | initHelper () |
Static Public Attributes | |
static const std::type_info *const | s_info |
Protected Attributes | |
std::string | m_name |
std::vector< T * > | m_hitvector |
AthHitVec::OwnershipPolicy | m_ownPolicy = AthHitVec::OWN_ELEMENTS |
Definition at line 48 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::base_value_type = T |
Definition at line 52 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::const_iterator = boost::transform_iterator<make_const, typename CONT::const_iterator> |
Definition at line 66 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::const_pointer = const T* const* |
Definition at line 60 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::const_reference = const T* const& |
Definition at line 61 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::CONT = std::vector<T*> |
Definition at line 53 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::difference_type = typename CONT::difference_type |
Definition at line 59 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::iterator = typename CONT::iterator |
Definition at line 57 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::pointer = typename CONT::pointer |
Definition at line 55 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::reference = typename CONT::reference |
Definition at line 56 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::size_type = typename CONT::size_type |
Definition at line 58 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::value_type = typename CONT::value_type |
Definition at line 54 of file AthenaHitsVector.h.
|
inline |
Definition at line 73 of file AthenaHitsVector.h.
|
inlineoverride |
Definition at line 83 of file AthenaHitsVector.h.
|
inlineexplicit |
copy constructor makes deep copy of elements, as by default the container is AthHitVec::OWN_ELEMENTS
Definition at line 110 of file AthenaHitsVector.h.
|
inline |
Definition at line 165 of file AthenaHitsVector.h.
|
inline |
Definition at line 156 of file AthenaHitsVector.h.
|
inline |
Definition at line 148 of file AthenaHitsVector.h.
|
inline |
Definition at line 85 of file AthenaHitsVector.h.
|
inline |
Definition at line 183 of file AthenaHitsVector.h.
|
inline |
Definition at line 94 of file AthenaHitsVector.h.
|
inline |
Definition at line 146 of file AthenaHitsVector.h.
|
inline |
Definition at line 158 of file AthenaHitsVector.h.
|
inline |
Definition at line 152 of file AthenaHitsVector.h.
|
inline |
Definition at line 144 of file AthenaHitsVector.h.
|
inlinestatic |
Definition at line 201 of file AthenaHitsVector.h.
|
inline |
Definition at line 104 of file AthenaHitsVector.h.
|
inline |
Definition at line 139 of file AthenaHitsVector.h.
|
inline |
assignment deletes old elements and copies the new ones deep copy if AthHitVec::OWN_ELEMENTS shallow copy if VIEW_ELEMENTS
Definition at line 122 of file AthenaHitsVector.h.
|
inline |
Definition at line 167 of file AthenaHitsVector.h.
|
inline |
Definition at line 163 of file AthenaHitsVector.h.
|
inline |
Definition at line 162 of file AthenaHitsVector.h.
|
inline |
Definition at line 191 of file AthenaHitsVector.h.
|
inline |
Definition at line 169 of file AthenaHitsVector.h.
|
inline |
Definition at line 141 of file AthenaHitsVector.h.
|
inline |
Definition at line 105 of file AthenaHitsVector.h.
|
inline |
Definition at line 160 of file AthenaHitsVector.h.
|
protected |
Definition at line 195 of file AthenaHitsVector.h.
|
protected |
Definition at line 194 of file AthenaHitsVector.h.
|
protected |
Definition at line 196 of file AthenaHitsVector.h.
|
static |
Definition at line 204 of file AthenaHitsVector.h.