ATLAS Offline Software
Control
DataModelAthenaPool
DataModelAthenaPool
VectorElementLink_p1.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef DATAMODELATHENAPOOL_VECTELEMENTLINK_P1_H
6
#define DATAMODELATHENAPOOL_VECTELEMENTLINK_P1_H
7
13
#include "
ElementLink_p3.h
"
14
20
#include <vector>
21
22
// Simulate template typedef - usa it as in GeneratePersVectorELinkType_p1
23
template
<
typename
INDEXTYPE>
24
struct
VectorElementLink_p1_t
{
25
typedef
std::vector< ElementLink_p3< INDEXTYPE > >
Type
;
26
};
27
28
29
// Helper template to generate type of the persistent VectorElementLink_pN<INDEXTYPE>
30
// from the type of the transient ElementLink
31
// Used in VectorElementlinkCnv_pN
32
33
template
<
class
TRANS_ELINK_VECT>
34
struct
GeneratePersVectorELinkType_p1
{
35
typedef
typename
VectorElementLink_p1_t<typename GenerateELinkIndexType_p3<typename TRANS_ELINK_VECT::value_type::index_type>::type
>
::Type
type
;
36
};
37
38
39
40
// If you define more VectorElementLink_pN types, remember to add template instantiations to the Dict file
41
42
typedef
VectorElementLink_p1_t<uint32_t>::Type
VectorElementLinkInt_p1
;
43
typedef
VectorElementLink_p1_t<std::string>::Type
VectorElementLinkStr_p1
;
44
45
46
#endif
47
48
49
ElementLink_p3.h
This file contains the class definition for the ElementLink_p3 class.
GeneratePersVectorELinkType_p1
Definition:
VectorElementLink_p1.h:34
VectorElementLinkInt_p1
VectorElementLink_p1_t< uint32_t >::Type VectorElementLinkInt_p1
Definition:
VectorElementLink_p1.h:42
VectorElementLink_p1_t::Type
std::vector< ElementLink_p3< INDEXTYPE > > Type
Definition:
VectorElementLink_p1.h:25
VectorElementLinkStr_p1
VectorElementLink_p1_t< std::string >::Type VectorElementLinkStr_p1
Definition:
VectorElementLink_p1.h:43
VectorElementLink_p1_t
Definition:
VectorElementLink_p1.h:24
GeneratePersVectorELinkType_p1::type
VectorElementLink_p1_t< typename GenerateELinkIndexType_p3< typename TRANS_ELINK_VECT::value_type::index_type >::type >::Type type
Definition:
VectorElementLink_p1.h:35
TScopeAdapter
Definition:
RootType.h:119
Generated on Sun Dec 22 2024 21:22:20 for ATLAS Offline Software by
1.8.18