File indexing completed on 2025-01-18 10:01:12
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef HEPMC3_GENVERTEX_FWD_H
0012 #define HEPMC3_GENVERTEX_FWD_H
0013
0014 #include <memory>
0015
0016 namespace HepMC3 {
0017
0018 class GenVertex;
0019
0020 using GenVertexPtr = std::shared_ptr<GenVertex>;
0021 using ConstGenVertexPtr = std::shared_ptr<const GenVertex>;
0022
0023 template<typename T>
0024 using GenVertex_type = typename std::conditional<std::is_const<typename T::element_type>::value, ConstGenVertexPtr, GenVertexPtr>::type;
0025
0026 }
0027
0028 #endif