#include <paramsd.h>
Definition at line 53 of file paramsd.h.
◆ ParamContent() [1/5]
ParamContent::ParamContent |
( |
| ) |
|
|
default |
◆ ParamContent() [2/5]
Definition at line 58 of file paramsd.cpp.
tesseract::StringParam * sIt
◆ ParamContent() [3/5]
Definition at line 66 of file paramsd.cpp.
tesseract::IntParam * iIt
◆ ParamContent() [4/5]
Definition at line 74 of file paramsd.cpp.
tesseract::BoolParam * bIt
◆ ParamContent() [5/5]
Definition at line 82 of file paramsd.cpp.
tesseract::DoubleParam * dIt
◆ Compare()
int ParamContent::Compare |
( |
const void * |
v1, |
|
|
const void * |
v2 |
|
) |
| |
|
static |
Definition at line 189 of file paramsd.cpp.
const char * GetName() const
◆ GetDescription()
const char * ParamContent::GetDescription |
( |
| ) |
const |
Definition at line 126 of file paramsd.cpp.
const char * info_str() const
◆ GetId()
int ParamContent::GetId |
( |
| ) |
|
|
inline |
◆ GetName()
const char * ParamContent::GetName |
( |
| ) |
const |
Definition at line 116 of file paramsd.cpp.
122 return "ERROR: ParamContent::GetName()";
const char * name_str() const
◆ GetParamContentById()
◆ GetValue()
STRING ParamContent::GetValue |
( |
| ) |
const |
Definition at line 135 of file paramsd.cpp.
144 if (
STRING(*(
sIt)).
string() !=
nullptr) {
const char * string() const
void add_str_int(const char *str, int number)
void add_str_double(const char *str, double number)
◆ HasChanged()
bool ParamContent::HasChanged |
( |
| ) |
|
|
inline |
◆ SetValue()
void ParamContent::SetValue |
( |
const char * |
val | ) |
|
Definition at line 154 of file paramsd.cpp.
163 std::stringstream stream(val);
165 stream.imbue(std::locale::classic());
void set_value(int32_t value)
void set_value(bool value)
void set_value(const STRING &value)
void set_value(double value)
◆ bIt
◆ dIt
◆ iIt
◆ sIt
The documentation for this class was generated from the following files: