#include <params.h>
Definition at line 218 of file params.h.
◆ StringParam()
tesseract::StringParam::StringParam |
( |
const char * |
value, |
|
|
const char * |
name, |
|
|
const char * |
comment, |
|
|
bool |
init, |
|
|
ParamsVectors * |
vec |
|
) |
| |
|
inline |
Definition at line 220 of file params.h.
222 void ResetFrom(
const ParamsVectors* vec) {
223 for (
int i = 0; i < vec->string_params.size(); ++i) {
224 if (strcmp(vec->string_params[i]->name_str(),
name_) == 0) {
227 value_ = *vec->string_params[i];
◆ ~StringParam()
tesseract::StringParam::~StringParam |
( |
| ) |
|
|
inline |
◆ c_str()
const char* tesseract::StringParam::c_str |
( |
| ) |
const |
|
inline |
◆ empty()
bool tesseract::StringParam::empty |
( |
| ) |
|
|
inline |
◆ operator STRING &()
tesseract::StringParam::operator STRING & |
( |
| ) |
|
|
inline |
◆ operator=()
void tesseract::StringParam::operator= |
( |
const STRING & |
value | ) |
|
|
inline |
◆ operator==()
bool tesseract::StringParam::operator== |
( |
const STRING & |
other | ) |
|
|
inline |
◆ ResetFrom()
void tesseract::StringParam::ResetFrom |
( |
const ParamsVectors * |
vec | ) |
|
|
inline |
Definition at line 236 of file params.h.
242 DoubleParam(
double value,
const char* name,
const char* comment,
bool init,
244 :
Param(name, comment, init) {
◆ ResetToDefault()
void tesseract::StringParam::ResetToDefault |
( |
| ) |
|
|
inline |
◆ set_value()
void tesseract::StringParam::set_value |
( |
const STRING & |
value | ) |
|
|
inline |
The documentation for this class was generated from the following file: