R3BROOT
R3B analysis software
|
#include <R3BParView.h>
Public Member Functions | |
InputParView (std::string_view par_name) | |
Constructor. | |
template<typename TaskType> | |
void | init (TaskType *task) |
Initialization of input 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 |
Definition at line 57 of file R3BParView.h.
|
inlineexplicit |
Definition at line 63 of file R3BParView.h.
|
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 AddInputPar implemented.
task | The task pointer. Usually pass by this. |
Definition at line 76 of file R3BParView.h.