ATLAS Offline Software
Loading...
Searching...
No Matches
AthenaHitsVector.h File Reference
#include <vector>
#include <concepts>
#include "AthContainers/tools/DVLInfo.h"
#include "boost/iterator/transform_iterator.hpp"
#include "AthenaKernel/getMessageSvc.h"
#include "GaudiKernel/IMessageSvc.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/MsgStream.h"
Include dependency graph for AthenaHitsVector.h:

Go to the source code of this file.

Classes

struct  HitsVectorBase
class  AthenaHitsVector< T >
struct  AthenaHitsVector< T >::make_const

Namespaces

namespace  AthHitVec

Concepts

concept  AthHitVec::isHitVectorBase
 Define the concept that the struct needs to inherit from the HitsVectorBase.

Enumerations

enum  AthHitVec::OwnershipPolicy { AthHitVec::OWN_ELEMENTS = 0 , AthHitVec::VIEW_ELEMENTS = 1 }

Functions

template<class T>
void dvl_makecontainer (size_t nreserve, AthenaHitsVector< T > *&cont)
 Construct a new container.

Variables

template<class T>
const std::type_info *const AthenaHitsVector< T >::s_info

Function Documentation

◆ dvl_makecontainer()

template<class T>
void dvl_makecontainer ( size_t nreserve,
AthenaHitsVector< T > *& cont )

Construct a new container.

Parameters
nreserveNumber of elements for which to reserve space. (Ignored if not appropriate.)

This is broken out from the make method to allow specializing just this method.

Definition at line 222 of file AthenaHitsVector.h.

222 {
223 cont = new AthenaHitsVector<T>;
224 cont->reserve(nreserve);
225}
void reserve(size_type n)

Variable Documentation

◆ AthenaHitsVector< T >::s_info

template<class T>
const std::type_info* const AthenaHitsVector< T >::s_info
Initial value:
=
static const std::type_info * initHelper()

Definition at line 230 of file AthenaHitsVector.h.