Steppable 0.0.1
A CAS project written from scratch in C++
Loading...
Searching...
No Matches
steppable::__internals::parameter::Parameter Struct Reference

Stores the name of a parameter. More...

#include <parameter.hpp>

Public Member Functions

template<typename T>
ValuedParameter operator= (T value)
 Shorthand function to facilitate setting values of parameters.
Parameteroperator= (const Parameter &)=delete
 Parameter (std::string name)
 Initializes a new Parameter object.

Public Attributes

std::string name
 The name of the parameter.

Detailed Description

Stores the name of a parameter.

Constructor & Destructor Documentation

◆ Parameter()

steppable::__internals::parameter::Parameter::Parameter ( std::string name)
inlineexplicit

Initializes a new Parameter object.

Parameters
nameThe name of the parameter.
Here is the caller graph for this function:

Member Function Documentation

◆ operator=() [1/2]

Parameter & steppable::__internals::parameter::Parameter::operator= ( const Parameter & )
delete
Here is the call graph for this function:

◆ operator=() [2/2]

template<typename T>
ValuedParameter steppable::__internals::parameter::Parameter::operator= ( T value)
inline

Shorthand function to facilitate setting values of parameters.

Parameters
valueThe value to set for the parameter.
Returns
A ValuedParameter object representing the current parameter.

Member Data Documentation

◆ name

std::string steppable::__internals::parameter::Parameter::name

The name of the parameter.


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