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

Detailed Description

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

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 20 of file Relatives.h.

#include <Relatives.h>

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

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 const Ancestors ANCESTORS
 
static const Descendants DESCENDANTS
 

Private Attributes

Relative_type _internal
 

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