svZeroDSolver
Loading...
Searching...
No Matches
InputParameter Struct Reference

Handles the properties of input parameters. More...

#include <Parameter.h>

Public Member Functions

 InputParameter (bool is_optional=false, bool is_array=false, bool is_number=true, double default_val=0.0)
 Handles input parameters.
 

Public Attributes

bool is_optional
 Is this parameter optional?
 
bool is_array
 Is this parameter an array?
 
bool is_number
 Is this parameter a number?
 
double default_val
 Default value (if parameter is optional)
 

Detailed Description

Handles the properties of input parameters.

Constructor & Destructor Documentation

◆ InputParameter()

InputParameter::InputParameter ( bool is_optional = false,
bool is_array = false,
bool is_number = true,
double default_val = 0.0 )
inline

Handles input parameters.

Parameters
is_optionalIs this parameter optional?
is_arrayIs this parameter an array?
is_numberIs this parameter a number?
default_valDefault value (if parameter is optional)

Member Data Documentation

◆ default_val

double InputParameter::default_val

Default value (if parameter is optional)

◆ is_array

bool InputParameter::is_array

Is this parameter an array?

◆ is_number

bool InputParameter::is_number

Is this parameter a number?

◆ is_optional

bool InputParameter::is_optional

Is this parameter optional?


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