ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
DataModelTestDataCommon
versions
CLinks_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-2019 CERN for the benefit of the ATLAS collaboration
4
*/
11
12
13
#ifndef DATAMODELTESTDATACOMMON_CLINKS_V1_H
14
#define DATAMODELTESTDATACOMMON_CLINKS_V1_H
15
16
17
#include "
DataModelTestDataCommon/CVec.h
"
18
#include "
AthContainers/AuxElement.h
"
19
#include "
AthenaKernel/BaseInfo.h
"
20
21
22
namespace
DMTest
{
23
24
31
class
CLinks_v1
32
:
public
SG::AuxElement
33
{
34
public
:
35
// Get/set the single link.
36
const
ElementLink<CVec>
&
link
()
const
;
37
void
setLink
(
const
ElementLink<CVec>
& l);
38
39
// Get/set the link vector.
40
const
std::vector<ElementLink<CVec> >&
links
()
const
;
41
void
setLinks
(
const
std::vector<
ElementLink<CVec>
>& l);
42
void
setLinks
(std::vector<
ElementLink<CVec>
>&& l);
43
};
44
45
46
}
// namespace DMTest
47
48
49
SG_BASE
(
DMTest::CLinks_v1
,
SG::AuxElement
);
50
51
52
#endif
// not DATAMODELTESTDATACOMMON_CLINKS_V1_H
AuxElement.h
Base class for elements of a container that can have aux data.
CVec.h
Class used for testing xAOD data reading/writing.
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
DMTest::CLinks_v1
For testing thinning of xAOD objects.
Definition
CLinks_v1.h:33
DMTest::CLinks_v1::setLinks
void setLinks(const std::vector< ElementLink< CVec > > &l)
DMTest::CLinks_v1::setLinks
void setLinks(std::vector< ElementLink< CVec > > &&l)
DMTest::CLinks_v1::link
const ElementLink< CVec > & link() const
DMTest::CLinks_v1::setLink
void setLink(const ElementLink< CVec > &l)
DMTest::CLinks_v1::links
const std::vector< ElementLink< CVec > > & links() const
ElementLink
ElementLink implementation for ROOT usage.
Definition
A/AthLinks/ElementLink.h:40
DMTest
Definition
B.h:23
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
Generated on
for ATLAS Offline Software by
1.17.0