ATLAS Offline Software
Loading...
Searching...
No Matches
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 */
11
12
13#ifndef ATHCONTAINERS_AUXVECTORINTERFACE_H
14#define ATHCONTAINERS_AUXVECTORINTERFACE_H
15
16
18
19
20namespace SG {
21
22
32 : public AuxVectorData
33{
34public:
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
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
Manage lookup of vectors of auxiliary data.
AuxVectorData()
Constructor.
AuxVectorInterface(SG::auxid_t auxid, size_t size, void *ptr)
Build from a (non-const) raw array.
virtual size_t size_v() const override final
Return the size of the container.
virtual size_t capacity_v() const override final
Return the capacity of the container.
AuxVectorInterface(IAuxStore &store)
Build from a (non-const) auxiliary store.
AuxVectorInterface(SG::auxid_t auxid, size_t size, const void *ptr)
Build from a (const) raw array.
AuxVectorInterface(const IConstAuxStore &store)
Build from a (const) auxiliary store.
size_t m_size
Size of the container.
Interface for non-const operations on an auxiliary store.
Definition IAuxStore.h:48
Interface for const operations on an auxiliary store.
Forward declaration.
size_t auxid_t
Identifier for a particular aux data item.
Definition AuxTypes.h:27
#define private