ATLAS Offline Software
Loading...
Searching...
No Matches
PayLoad.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// PayLoad.h
8// Header file for class SgTests::PayLoad
9// Author: S.Binet<binet@cern.ch>
11#ifndef STOREGATETESTS_PAYLOAD_H
12#define STOREGATETESTS_PAYLOAD_H
13
20
21// STL
22#include <vector>
23
26
27namespace SgTests {
28 struct PayLoad {
29 std::vector<int> m_data;
30 };
31}
32
33namespace SgTests {
34 struct PayLoadDv : DataVector<SgTests::PayLoad> {};
35}
36
37CLASS_DEF( SgTests::PayLoad, 115335033, 1 )
38CLASS_DEF( SgTests::PayLoadDv, 54422553, 1 )
39
40#endif // STOREGATETESTS_PAYLOAD_H
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
is a very simple class to exercize the basic features of the StoreGateSvc class: publishing and retri...
Definition PayLoad.h:28
std::vector< int > m_data
Definition PayLoad.h:29