Belle II Software development
Manager::MetaVar Struct Reference

A variable taking string arguments returning a variable. More...

#include <Manager.h>

Inheritance diagram for Manager::MetaVar:
Manager::VarBase

Public Member Functions

 MetaVar (const std::string &n, MetaFunctionPtr f, const std::string &d, const std::string &g="", const VariableDataType &v=VariableDataType::c_double)
 ctor
 
void extendDescriptionString (const std::string &d)
 function to extend the description of the variable
 

Public Attributes

MetaFunctionPtr function
 Pointer to function.
 
std::string name
 Unique identifier of the function, used as key.
 
std::string description
 Description of what this function does.
 
std::string group
 Associated group.
 
VariableDataType variabletype
 data type of variable
 

Detailed Description

A variable taking string arguments returning a variable.

Definition at line 163 of file Manager.h.

Constructor & Destructor Documentation

◆ MetaVar()

MetaVar ( const std::string & n,
MetaFunctionPtr f,
const std::string & d,
const std::string & g = "",
const VariableDataType & v = VariableDataType::c_double )
inlineexplicit

ctor

Definition at line 166 of file Manager.h.

168 : VarBase(n, d, g, v), function(f) { }

Member Function Documentation

◆ extendDescriptionString()

void extendDescriptionString ( const std::string & d)
inlineinherited

function to extend the description of the variable

Definition at line 138 of file Manager.h.

139 {
140 description.append(d);
141 }

Member Data Documentation

◆ description

std::string description
inherited

Description of what this function does.

Definition at line 130 of file Manager.h.

◆ function

MetaFunctionPtr function

Pointer to function.

Definition at line 164 of file Manager.h.

◆ group

std::string group
inherited

Associated group.

Definition at line 131 of file Manager.h.

◆ name

std::string name
inherited

Unique identifier of the function, used as key.

Definition at line 129 of file Manager.h.

◆ variabletype

VariableDataType variabletype
inherited

data type of variable

Definition at line 132 of file Manager.h.


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