#include <params.h>
Definition at line 191 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 193 of file params.h.
195 :
Param(name, comment, init) {
198 params_vec_ = &(vec->string_params);
199 vec->string_params.push_back(
this);
Param(const char *name, const char *comment, bool init)
◆ ~StringParam()
tesseract::StringParam::~StringParam |
( |
| ) |
|
|
inline |
Definition at line 201 of file params.h.
201 { ParamUtils::RemoveParam<StringParam>(
this, params_vec_); }
◆ c_str()
const char* tesseract::StringParam::c_str |
( |
| ) |
const |
|
inline |
Definition at line 204 of file params.h.
204 {
return value_.
string(); }
const char * string() const
◆ 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 |
Definition at line 206 of file params.h.
206 {
return value_ == other; }
◆ ResetToDefault()
void tesseract::StringParam::ResetToDefault |
( |
| ) |
|
|
inline |
◆ set_value()
void tesseract::StringParam::set_value |
( |
const STRING & |
value | ) |
|
|
inline |
◆ string()
const char* tesseract::StringParam::string |
( |
| ) |
const |
|
inline |
Definition at line 203 of file params.h.
203 {
return value_.
string(); }
const char * string() const
The documentation for this class was generated from the following file: