#include <params.h>
Definition at line 147 of file params.h.
◆ IntParam()
tesseract::IntParam::IntParam |
( |
int32_t |
value, |
|
|
const char * |
name, |
|
|
const char * |
comment, |
|
|
bool |
init, |
|
|
ParamsVectors * |
vec |
|
) |
| |
|
inline |
Definition at line 149 of file params.h.
150 :
Param(name, comment, init) {
153 params_vec_ = &(vec->int_params);
154 vec->int_params.push_back(
this);
Param(const char *name, const char *comment, bool init)
◆ ~IntParam()
tesseract::IntParam::~IntParam |
( |
| ) |
|
|
inline |
Definition at line 156 of file params.h.
157 ParamUtils::RemoveParam<IntParam>(
this, params_vec_);
◆ operator int32_t()
tesseract::IntParam::operator int32_t |
( |
| ) |
const |
|
inline |
◆ operator=()
void tesseract::IntParam::operator= |
( |
int32_t |
value | ) |
|
|
inline |
◆ ResetFrom()
Definition at line 171 of file params.h.
172 for (
auto *param : vec->int_params) {
173 if (strcmp(param->name_str(),
name_) == 0) {
◆ ResetToDefault()
void tesseract::IntParam::ResetToDefault |
( |
| ) |
|
|
inline |
◆ set_value()
void tesseract::IntParam::set_value |
( |
int32_t |
value | ) |
|
|
inline |
The documentation for this class was generated from the following file: