R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3B::OutputParView< ParType > Class Template Reference

#include <R3BParView.h>

Public Member Functions

 OutputParView (std::string_view par_name)
 Constructor.
template<typename TaskType>
void init (TaskType *task)
 Initialization of output parameter.
Public Member Functions inherited from R3B::ParView< ParType >
 ParView (std::string_view par_name)
 Constructor.
auto get () const -> Type *
 Get the parameter pointer.
auto get_name () const -> std::string_view
 Get the name of the paramter.
auto set (Type *par) -> Type *
 Set the pointer of the parameter.
auto operator-> () -> Type *
auto operator* () -> Type &

Additional Inherited Members

Public Types inherited from R3B::ParView< ParType >
using Type = ParType

Detailed Description

template<typename ParType>
class R3B::OutputParView< ParType >

Definition at line 84 of file R3BParView.h.

Constructor & Destructor Documentation

◆ OutputParView()

template<typename ParType>
R3B::OutputParView< ParType >::OutputParView ( std::string_view par_name)
inlineexplicit

Definition at line 90 of file R3BParView.h.

Member Function Documentation

◆ init()

template<typename ParType>
template<typename TaskType>
void R3B::OutputParView< ParType >::init ( TaskType * task)
inline

This initializes the parameter by adding the parameter name to the task and set the value from the return of the AddInputPar method. The input task type must have AddOutputPar implemented.

Parameters
taskThe task pointer. Usually pass by this.
See also
ref

Definition at line 104 of file R3BParView.h.


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