ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthContainers
AthContainers
tools
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
17
#include "
AthContainers/AuxVectorData.h
"
18
19
20
namespace
SG
{
21
22
31
class
AuxVectorInterface
32
:
public
AuxVectorData
33
{
34
public
:
39
AuxVectorInterface
(
IAuxStore
& store);
40
41
46
AuxVectorInterface
(
const
IConstAuxStore& store);
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
AuxVectorData.h
Manage lookup of vectors of auxiliary data.
SG::AuxVectorData::AuxVectorData
AuxVectorData()
Constructor.
Definition
AuxVectorData.cxx:36
SG::AuxVectorInterface::AuxVectorInterface
AuxVectorInterface(SG::auxid_t auxid, size_t size, void *ptr)
Build from a (non-const) raw array.
SG::AuxVectorInterface::size_v
virtual size_t size_v() const override final
Return the size of the container.
SG::AuxVectorInterface::capacity_v
virtual size_t capacity_v() const override final
Return the capacity of the container.
SG::AuxVectorInterface::AuxVectorInterface
AuxVectorInterface(IAuxStore &store)
Build from a (non-const) auxiliary store.
SG::AuxVectorInterface::AuxVectorInterface
AuxVectorInterface(SG::auxid_t auxid, size_t size, const void *ptr)
Build from a (const) raw array.
SG::AuxVectorInterface::AuxVectorInterface
AuxVectorInterface(const IConstAuxStore &store)
Build from a (const) auxiliary store.
SG::AuxVectorInterface::m_size
size_t m_size
Size of the container.
Definition
AuxVectorInterface.h:81
SG::IAuxStore
Interface for non-const operations on an auxiliary store.
Definition
IAuxStore.h:51
const
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
SG::auxid
SG::auxid_t auxid() const
Return the aux id for this variable.
SG::size
virtual size_t size() const override
Return the number of elements in the store.
SG::auxid_t
size_t auxid_t
Identifier for a particular aux data item.
Definition
AuxTypes.h:27
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0