ATLAS Offline Software
Loading...
Searching...
No Matches
AthenaHitsVector.h File Reference
#include <vector>
#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

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 216 of file AthenaHitsVector.h.

216 {
217 cont = new AthenaHitsVector<T>;
218 cont->reserve(nreserve);
219}
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 224 of file AthenaHitsVector.h.