#include <paramsd.h>
Definition at line 47 of file paramsd.h.
◆ ParamContent() [1/5]
tesseract::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 tesseract::ParamContent::Compare |
( |
const void * |
v1, |
|
|
const void * |
v2 |
|
) |
| |
|
static |
Definition at line 194 of file paramsd.cpp.
197 return strcmp(one->GetName(), two->GetName());
◆ GetDescription()
const char * tesseract::ParamContent::GetDescription |
( |
| ) |
const |
Definition at line 130 of file paramsd.cpp.
const char * info_str() const
◆ GetId()
int tesseract::ParamContent::GetId |
( |
| ) |
const |
|
inline |
◆ GetName()
const char * tesseract::ParamContent::GetName |
( |
| ) |
const |
Definition at line 115 of file paramsd.cpp.
125 return "ERROR: ParamContent::GetName()";
const char * name_str() const
◆ GetParamContentById()
ParamContent * tesseract::ParamContent::GetParamContentById |
( |
int |
id | ) |
|
|
static |
◆ GetValue()
std::string tesseract::ParamContent::GetValue |
( |
| ) |
const |
Definition at line 145 of file paramsd.cpp.
148 result += std::to_string(*
iIt);
150 result += std::to_string(*
bIt);
152 result += std::to_string(*
dIt);
const char * c_str() const
◆ HasChanged()
bool tesseract::ParamContent::HasChanged |
( |
| ) |
const |
|
inline |
◆ SetValue()
void tesseract::ParamContent::SetValue |
( |
const char * |
val | ) |
|
Definition at line 160 of file paramsd.cpp.
169 std::stringstream stream(val);
171 stream.imbue(std::locale::classic());
void set_value(int32_t value)
void set_value(bool value)
void set_value(const std::string &value)
void set_value(double value)
◆ bIt
◆ dIt
◆ iIt
◆ sIt
The documentation for this class was generated from the following files: