HepMC3 event record library
Public Member Functions | Static Public Attributes | Private Attributes
RelativesInterface< T > Class Template Reference

forward declare the Relatives interface in which _parents and _children are wrapped More...

#include <Relatives.h>

+ Inheritance diagram for RelativesInterface< T >:
+ Collaboration diagram for RelativesInterface< T >:

Public Member Functions

GenParticles_type< GenParticlePtr > operator() (GenParticlePtr input) const override
 
GenParticles_type
< ConstGenParticlePtr > 
operator() (ConstGenParticlePtr input) const override
 
GenParticles_type< GenVertexPtr > operator() (GenVertexPtr input) const override
 
GenParticles_type
< ConstGenVertexPtr > 
operator() (ConstGenVertexPtr input) const override
 

Static Public Attributes

static const Parents PARENTS
 
static const Children CHILDREN
 
static thread_local const Ancestors ANCESTORS
 
static thread_local const
Descendants 
DESCENDANTS
 

Private Attributes

Relative_type _internal
 

Detailed Description

template<typename T>
class HepMC3::RelativesInterface< T >

forward declare the Relatives interface in which _parents and _children are wrapped

wrap a templated class that implements Relatives Since we need to template the functionality on the input type (GenParticlePtr, ConstGenVertexPtr etc.) we must wrap a class that has a templated operator in this that provides the Relatives interface and calls through to the underlying template method.

Definition at line 21 of file Relatives.h.


The documentation for this class was generated from the following file: