ATLAS Offline Software
AuxVectorInterface.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 /*
3  * Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
4  */
13 #ifndef ATHCONTAINERS_AUXVECTORINTERFACE_H
14 #define ATHCONTAINERS_AUXVECTORINTERFACE_H
15 
16 
18 
19 
20 namespace SG {
21 
22 
32  : public AuxVectorData
33 {
34 public:
40 
41 
47 
48 
55  AuxVectorInterface (SG::auxid_t auxid, size_t size, void* ptr);
56 
57 
64  AuxVectorInterface (SG::auxid_t auxid, size_t size, const void* ptr);
65 
66 
70  virtual size_t size_v() const override final;
71 
72 
76  virtual size_t capacity_v() const override final;
77 
78 
79 private:
81  size_t m_size;
82 };
83 
84 
85 } // namespace SG
86 
87 
88 #include "AthContainers/tools/AuxVectorInterface.icc"
89 
90 
91 #endif // not ATHCONTAINERS_AUXVECTORINTERFACE_H
SG::AuxVectorInterface::AuxVectorInterface
AuxVectorInterface(SG::auxid_t auxid, size_t size, void *ptr)
Build from a (non-const) raw array.
store
StoreGateSvc * store
Definition: fbtTestBasics.cxx:71
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
dbg::ptr
void * ptr(T *p)
Definition: SGImplSvc.cxx:74
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:560
SG::AuxVectorInterface::size_v
virtual size_t size_v() const override final
Return the size of the container.
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
SG::auxid_t
size_t auxid_t
Identifier for a particular aux data item.
Definition: AuxTypes.h:27
SG::AuxVectorInterface::m_size
size_t m_size
Size of the container.
Definition: AuxVectorInterface.h:81
SG::AuxVectorInterface::AuxVectorInterface
AuxVectorInterface(IAuxStore &store)
Build from a (non-const) auxiliary store.
SG::AuxVectorInterface::capacity_v
virtual size_t capacity_v() const override final
Return the capacity of the container.
AuxVectorData.h
Manage lookup of vectors of auxiliary data.
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
SG::AuxVectorInterface::AuxVectorInterface
AuxVectorInterface(const IConstAuxStore &store)
Build from a (const) auxiliary store.
SG::IAuxStore
Interface for non-const operations on an auxiliary store.
Definition: IAuxStore.h:48
SG::AuxVectorInterface::AuxVectorInterface
AuxVectorInterface(SG::auxid_t auxid, size_t size, const void *ptr)
Build from a (const) raw array.
SG::AuxVectorInterface
Make an AuxVectorData object from either a raw array or an aux store.
Definition: AuxVectorInterface.h:33
SG::AuxVectorData
Manage lookup of vectors of auxiliary data.
Definition: AuxVectorData.h:168
SG::IConstAuxStore
Interface for const operations on an auxiliary store.
Definition: IConstAuxStore.h:64