ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthContainers
AthContainers
tools
AuxElementConcepts.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-2025 CERN for the benefit of the ATLAS collaboration.
4
*/
19
20
21
#ifndef ATHCONTAINERS_AUXELEMENTCONCEPTS_H
22
#define ATHCONTAINERS_AUXELEMENTCONCEPTS_H
23
24
25
#include "
AthContainersInterfaces/IAuxElement.h
"
26
#include "
AthContainers/AuxVectorData.h
"
27
28
29
namespace
SG
{
30
31
33
template
<
class
T>
34
concept
IsConstAuxElement
=
35
requires
(
const
T& elt)
36
{
37
{ elt } -> std::convertible_to<const IAuxElement&>;
38
{ elt.container() } -> std::convertible_to<const AuxVectorData*>;
39
};
40
41
43
template
<
class
T>
44
concept
IsAuxElement
=
45
requires
(T& elt)
46
{
47
{ elt } -> std::convertible_to<IAuxElement&>;
48
{ elt.container() } -> std::convertible_to<AuxVectorData*>;
49
};
50
51
52
}
// namespace SG
53
54
55
#endif
// not ATHCONTAINERS_AUXELEMENTCONCEPTS_H
AuxVectorData.h
Manage lookup of vectors of auxiliary data.
IAuxElement.h
Flag that a class may have auxiliary data associated with it.
SG::IsAuxElement
Test if T is compatible with AuxElement.
Definition
AuxElementConcepts.h:44
SG::IsConstAuxElement
Test if T is compatible with ConstAuxElement.
Definition
AuxElementConcepts.h:34
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
Generated on
for ATLAS Offline Software by
1.17.0