![]() |
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 () | |
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 39 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::base_value_type = T |
Definition at line 43 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::const_iterator = boost::transform_iterator<make_const, typename CONT::const_iterator> |
Definition at line 57 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::const_pointer = const T* const* |
Definition at line 51 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::const_reference = const T* const& |
Definition at line 52 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::CONT = std::vector<T*> |
Definition at line 44 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::difference_type = typename CONT::difference_type |
Definition at line 50 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::iterator = typename CONT::iterator |
Definition at line 48 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::pointer = typename CONT::pointer |
Definition at line 46 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::reference = typename CONT::reference |
Definition at line 47 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::size_type = typename CONT::size_type |
Definition at line 49 of file AthenaHitsVector.h.
using AthenaHitsVector< T >::value_type = typename CONT::value_type |
Definition at line 45 of file AthenaHitsVector.h.
|
inline |
Definition at line 64 of file AthenaHitsVector.h.
|
inline |
Definition at line 74 of file AthenaHitsVector.h.
|
inlineexplicit |
copy constructor makes deep copy of elements, as by default the container is AthHitVec::OWN_ELEMENTS
Definition at line 101 of file AthenaHitsVector.h.
|
inline |
Definition at line 156 of file AthenaHitsVector.h.
|
inline |
Definition at line 147 of file AthenaHitsVector.h.
|
inline |
Definition at line 139 of file AthenaHitsVector.h.
|
inline |
Definition at line 76 of file AthenaHitsVector.h.
|
inline |
Definition at line 174 of file AthenaHitsVector.h.
|
inline |
Definition at line 85 of file AthenaHitsVector.h.
|
inline |
Definition at line 137 of file AthenaHitsVector.h.
|
inline |
Definition at line 149 of file AthenaHitsVector.h.
|
inline |
Definition at line 143 of file AthenaHitsVector.h.
|
inline |
Definition at line 135 of file AthenaHitsVector.h.
|
inlinestatic |
Definition at line 192 of file AthenaHitsVector.h.
|
inline |
Definition at line 95 of file AthenaHitsVector.h.
|
inline |
Definition at line 130 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 113 of file AthenaHitsVector.h.
|
inline |
Definition at line 158 of file AthenaHitsVector.h.
|
inline |
Definition at line 154 of file AthenaHitsVector.h.
|
inline |
Definition at line 153 of file AthenaHitsVector.h.
|
inline |
Definition at line 182 of file AthenaHitsVector.h.
|
inline |
Definition at line 160 of file AthenaHitsVector.h.
|
inline |
Definition at line 132 of file AthenaHitsVector.h.
|
inline |
Definition at line 96 of file AthenaHitsVector.h.
|
inline |
Definition at line 151 of file AthenaHitsVector.h.
|
protected |
Definition at line 186 of file AthenaHitsVector.h.
|
protected |
Definition at line 185 of file AthenaHitsVector.h.
|
protected |
Definition at line 187 of file AthenaHitsVector.h.
|
static |
Definition at line 195 of file AthenaHitsVector.h.