Belle II Software light-2406-ragdoll
Manager::MetaVar Struct Reference

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

#include <Manager.h>

Inheritance diagram for Manager::MetaVar:
Collaboration diagram for Manager::MetaVar:

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 164 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 167 of file Manager.h.

169 : VarBase(n, d, g, v), function(f) { }
MetaFunctionPtr function
Pointer to function.
Definition: Manager.h:165
VarBase(const std::string &n, const std::string &d, const std::string &g, const VariableDataType &v)
ctor
Definition: Manager.h:135

Member Function Documentation

◆ extendDescriptionString()

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

function to extend the description of the variable

Definition at line 139 of file Manager.h.

140 {
141 description.append(d);
142 }
std::string description
Description of what this function does.
Definition: Manager.h:131

Member Data Documentation

◆ description

std::string description
inherited

Description of what this function does.

Definition at line 131 of file Manager.h.

◆ function

MetaFunctionPtr function

Pointer to function.

Definition at line 165 of file Manager.h.

◆ group

std::string group
inherited

Associated group.

Definition at line 132 of file Manager.h.

◆ name

std::string name
inherited

Unique identifier of the function, used as key.

Definition at line 130 of file Manager.h.

◆ variabletype

VariableDataType variabletype
inherited

data type of variable

Definition at line 133 of file Manager.h.


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