ATLAS Offline Software
P_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 DATAMODELTESTDATACOMMON_P_V1_H
14 #define DATAMODELTESTDATACOMMON_P_V1_H
15 
16 
18 #include "AthenaKernel/BaseInfo.h"
19 
20 
21 namespace DMTest {
22 
23 
27 class P_v1
28  : public SG::AuxElement
29 {
30 public:
31  unsigned int pInt() const;
32  void setPInt (unsigned int);
33 
34  float pFloat() const;
35  void setPFloat (float);
36 
37  const std::vector<int>& pvInt() const;
38  void setPVInt (const std::vector<int>&);
39  void setPVInt (std::vector<int>&&);
40 
41  const std::vector<float>& pvFloat() const;
42  void setPVFloat (const std::vector<float>&);
43  void setPVFloat (std::vector<float>&&);
44 };
45 
46 
47 } // namespace DMTest
48 
49 
51 
52 
53 #endif // not DATAMODELTESTDATACOMMON_P_V1_H
DMTest::P_v1::setPVInt
void setPVInt(std::vector< int > &&)
DMTest::P_v1
Class used for testing xAOD data reading/writing with packed containers.
Definition: P_v1.h:29
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:472
DMTest::P_v1::setPVInt
void setPVInt(const std::vector< int > &)
DMTest::P_v1::setPFloat
void setPFloat(float)
DMTest::P_v1::pvFloat
const std::vector< float > & pvFloat() const
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_BASE
SG_BASE(DMTest::P_v1, SG::AuxElement)
DMTest::P_v1::setPInt
void setPInt(unsigned int)
DMTest::P_v1::pInt
unsigned int pInt() const
DMTest::P_v1::pFloat
float pFloat() const
DMTest::P_v1::setPVFloat
void setPVFloat(std::vector< float > &&)
DMTest::P_v1::pvInt
const std::vector< int > & pvInt() const
DMTest::P_v1::setPVFloat
void setPVFloat(const std::vector< float > &)
AuxElement.h
Base class for elements of a container that can have aux data.
DMTest
Definition: B.h:23