ATLAS Offline Software
Classes | Namespaces | Enumerations | Functions
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

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

Namespaces

 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. More...
 

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

207  {
208  cont = new AthenaHitsVector<T>;
209  cont->reserve(nreserve);
210 }
AthenaHitsVector::reserve
void reserve(size_type n)
Definition: AthenaHitsVector.h:182
AthenaHitsVector
Definition: AthenaHitsVector.h:39