#include <params.h>
Definition at line 286 of file params.h.
◆ DoubleParam()
tesseract::DoubleParam::DoubleParam |
( |
double |
value, |
|
|
const char * |
name, |
|
|
const char * |
comment, |
|
|
bool |
init, |
|
|
ParamsVectors * |
vec |
|
) |
| |
|
inline |
Definition at line 288 of file params.h.
289 :
Param(name, comment, init) {
292 params_vec_ = &(vec->double_params);
293 vec->double_params.push_back(
this);
Param(const char *name, const char *comment, bool init)
◆ ~DoubleParam()
tesseract::DoubleParam::~DoubleParam |
( |
| ) |
|
|
inline |
Definition at line 295 of file params.h.
296 ParamUtils::RemoveParam<DoubleParam>(
this, params_vec_);
◆ operator double()
tesseract::DoubleParam::operator double |
( |
| ) |
const |
|
inline |
◆ operator=()
void tesseract::DoubleParam::operator= |
( |
double |
value | ) |
|
|
inline |
◆ ResetFrom()
void tesseract::DoubleParam::ResetFrom |
( |
const ParamsVectors * |
vec | ) |
|
|
inline |
Definition at line 310 of file params.h.
311 for (
auto *param : vec->double_params) {
312 if (strcmp(param->name_str(),
name_) == 0) {
◆ ResetToDefault()
void tesseract::DoubleParam::ResetToDefault |
( |
| ) |
|
|
inline |
◆ set_value()
void tesseract::DoubleParam::set_value |
( |
double |
value | ) |
|
|
inline |
The documentation for this class was generated from the following file: