#include <params.h>
Definition at line 190 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 192 of file params.h.
194 :
Param(name, comment, init) {
197 params_vec_ = &(vec->string_params);
198 vec->string_params.push_back(
this);
Param(const char *name, const char *comment, bool init)
◆ ~StringParam()
tesseract::StringParam::~StringParam |
( |
| ) |
|
|
inline |
Definition at line 200 of file params.h.
200 { ParamUtils::RemoveParam<StringParam>(
this, params_vec_); }
◆ c_str()
const char* tesseract::StringParam::c_str |
( |
| ) |
const |
|
inline |
Definition at line 203 of file params.h.
203 {
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 205 of file params.h.
205 {
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 202 of file params.h.
202 {
return value_.
string(); }
const char * string() const
The documentation for this class was generated from the following file:
- /usr/src/tesseract-ocr.master/src/ccutil/params.h