ScalarRegister#
#include <ScalarRegister.h>
: class ScalarRegister
How to reference this class#
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`ScalarRegister <class-scalarregister>`
[ScalarRegister](#class-scalarregister)
Detailed description#
Providing map of scalars associated with a name inside Probleme_U Those are typically toggled through the ICoCo API (get/setInputIntValue() get/setDoubleValue()).
List of Public Methods#
Complete Member Function Documentation#
getOutputDoubleValue#
double ScalarRegister::getOutputDoubleValue(const Nom &name) const
Detailed description
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`double ScalarRegister::getOutputDoubleValue(const Nom &name) const <scalarregister-public-double-scalarregister-getoutputdoublevalue-const-nom-ref-name-const>`
[double ScalarRegister::getOutputDoubleValue(const Nom &name) const](#scalarregister-public-double-scalarregister-getoutputdoublevalue-const-nom-ref-name-const)
getOutputIntValue#
int ScalarRegister::getOutputIntValue(const Nom &name) const
Detailed description
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`int ScalarRegister::getOutputIntValue(const Nom &name) const <scalarregister-public-int-scalarregister-getoutputintvalue-const-nom-ref-name-const>`
[int ScalarRegister::getOutputIntValue(const Nom &name) const](#scalarregister-public-int-scalarregister-getoutputintvalue-const-nom-ref-name-const)
ScalarRegister#
ScalarRegister::ScalarRegister()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`ScalarRegister::ScalarRegister() <scalarregister-public-scalarregister-scalarregister>`
[ScalarRegister::ScalarRegister()](#scalarregister-public-scalarregister-scalarregister)
setInputDoubleValue#
void ScalarRegister::setInputDoubleValue(const Nom &name, const double &val)
Detailed description
References
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void ScalarRegister::setInputDoubleValue(const Nom &name, const double &val) <scalarregister-public-void-scalarregister-setinputdoublevalue-const-nom-ref-name-const-double-ref-val>`
[void ScalarRegister::setInputDoubleValue(const Nom &name, const double &val)](#scalarregister-public-void-scalarregister-setinputdoublevalue-const-nom-ref-name-const-double-ref-val)
setInputIntValue#
void ScalarRegister::setInputIntValue(const Nom &name, const int &val)
Detailed description
References
Referenced By
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`void ScalarRegister::setInputIntValue(const Nom &name, const int &val) <scalarregister-public-void-scalarregister-setinputintvalue-const-nom-ref-name-const-int-ref-val>`
[void ScalarRegister::setInputIntValue(const Nom &name, const int &val)](#scalarregister-public-void-scalarregister-setinputintvalue-const-nom-ref-name-const-int-ref-val)
~ScalarRegister#
ScalarRegister::~ScalarRegister()
Detailed description
How to reference this method:
Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):
:ref:`ScalarRegister::~ScalarRegister() <scalarregister-public-scalarregister-dtor-scalarregister>`
[ScalarRegister::~ScalarRegister()](#scalarregister-public-scalarregister-dtor-scalarregister)
Attributes Documentation#
std::map<std::string, double> ScalarRegister::double_reg
std::map<std::string, int> ScalarRegister::int_reg