9 template <
typename ParType>
20 explicit ParView(std::string_view par_name)
38 [[nodiscard]]
auto get_name() const -> std::string_view {
return name_; }
56 template <
typename ParType>
75 template <
typename TaskType>
78 auto* par = task->template AddInputPar<ParType>(this->
get_name());
83 template <
typename ParType>
103 template <
typename TaskType>
106 auto* par = task->template AddOutputPar<ParType>(this->
get_name());
void init(TaskType *task)
Initialization of output parameter.
OutputParView(std::string_view par_name)
Constructor.
ParView(std::string_view par_name)
Constructor.
auto operator*() -> Type &
auto set(Type *par) -> Type *
Set the pointer of the parameter.
auto get_name() const -> std::string_view
Get the name of the paramter.
auto get() const -> Type *
Get the parameter pointer.
auto operator->() -> Type *