ATLAS Offline Software
DataModelTestDataRead/DataModelTestDataRead/versions/AllocTestAuxContainer_v1.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 DATAMODELTESTDATAREAD_ALLOCTESTAUXCONTAINER_V1_H
14 #define DATAMODELTESTDATAREAD_ALLOCTESTAUXCONTAINER_V1_H
15 
16 
18 #include "AthenaKernel/BaseInfo.h"
19 #include "TestTools/TestAlloc.h"
20 #include <vector>
21 #include <memory>
22 
23 
24 namespace DMTest {
25 
26 
36  : public xAOD::AuxContainerBase
37 {
38 public:
40  AllocTestAuxContainer_v1 (std::pmr::memory_resource* r);
41 
42 
43  // For this one, the dictionary will always be present (from AthContainers).
44  AUXVAR_DECL (int, atInt1, std::pmr::polymorphic_allocator);
45 
46  // For this one, the dictionary is only present in this package.
48 };
49 
50 
51 } // namespace DMTest
52 
53 
55 
56 
57 #endif // not DATAMODELTESTDATAREAD_ALLOCTESTAUXCONTAINER_V1_H
SG_BASE
SG_BASE(DMTest::AllocTestAuxContainer_v1, xAOD::AuxContainerBase)
beamspotman.r
def r
Definition: beamspotman.py:676
DMTest::AllocTestAuxContainer_v1
Testing an xAOD object with a non-standard memory allocator.
Definition: DataModelTestDataRead/DataModelTestDataRead/versions/AllocTestAuxContainer_v1.h:37
AuxContainerBase.h
xAOD::AuxContainerBase
Common base class for the auxiliary containers.
Definition: AuxContainerBase.h:59
DMTest::AllocTestAuxContainer_v1::AUXVAR_DECL
AUXVAR_DECL(int, atInt1, std::pmr::polymorphic_allocator)
DMTest::AllocTestAuxContainer_v1::AUXVAR_DECL
AUXVAR_DECL(int, atInt2, Athena_test::TestAlloc)
BaseInfo.h
Provide an interface for finding inheritance information at run time.
Athena_test::TestAlloc
To test handling of non-standard memory allocators.
Definition: TestAlloc.h:29
DMTest::AllocTestAuxContainer_v1::AllocTestAuxContainer_v1
AllocTestAuxContainer_v1()
Definition: DataModelTestDataRead/src/AllocTestAuxContainer_v1.cxx:66
TestAlloc.h
To test handling of non-standard memory allocators.
DMTest
Definition: B.h:23