HepMC event record
Public Member Functions | Data Fields
OAttr< T > Struct Template Reference

Detailed Description

template<typename T>
struct LHEF::OAttr< T >

Helper struct for output of attributes.

Definition at line 33 of file build/outputs/include/HepMC/LHEF.h.

#include <LHEF.h>

+ Collaboration diagram for OAttr< T >:

Public Member Functions

 OAttr (std::string n, const T &v)
 
 OAttr (std::string n, const T &v)
 

Data Fields

std::string name
 
val
 

Constructor & Destructor Documentation

◆ OAttr() [1/2]

OAttr ( std::string  n,
const T &  v 
)
inline

Constructor

Definition at line 38 of file build/outputs/include/HepMC/LHEF.h.

◆ OAttr() [2/2]

OAttr ( std::string  n,
const T &  v 
)
inline

Constructor

Definition at line 38 of file include/HepMC/LHEF.h.

Field Documentation

◆ name

std::string name

The name of the attribute being printed.

Definition at line 43 of file build/outputs/include/HepMC/LHEF.h.

◆ val

T val

The value of the attribute being printed.

Definition at line 48 of file build/outputs/include/HepMC/LHEF.h.


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