#include <params.h>
|
static bool | ReadParamsFile (const char *file, SetParamConstraint constraint, ParamsVectors *member_params) |
|
static bool | ReadParamsFromFp (SetParamConstraint constraint, TFile *fp, ParamsVectors *member_params) |
|
static bool | SetParam (const char *name, const char *value, SetParamConstraint constraint, ParamsVectors *member_params) |
|
template<class T > |
static T * | FindParam (const char *name, const GenericVector< T *> &global_vec, const GenericVector< T *> &member_vec) |
|
template<class T > |
static void | RemoveParam (T *param_ptr, GenericVector< T *> *vec) |
|
static bool | GetParamAsString (const char *name, const ParamsVectors *member_params, STRING *value) |
|
static void | PrintParams (FILE *fp, const ParamsVectors *member_params) |
|
static void | ResetToDefaults (ParamsVectors *member_params) |
|
◆ FindParam()
template<class T >
static T* tesseract::ParamUtils::FindParam |
( |
const char * |
name, |
|
|
const GenericVector< T *> & |
global_vec, |
|
|
const GenericVector< T *> & |
member_vec |
|
) |
| |
|
inlinestatic |
◆ GetParamAsString()
bool tesseract::ParamUtils::GetParamAsString |
( |
const char * |
name, |
|
|
const ParamsVectors * |
member_params, |
|
|
STRING * |
value |
|
) |
| |
|
static |
◆ PrintParams()
void tesseract::ParamUtils::PrintParams |
( |
FILE * |
fp, |
|
|
const ParamsVectors * |
member_params |
|
) |
| |
|
static |
◆ ReadParamsFile()
◆ ReadParamsFromFp()
◆ RemoveParam()
template<class T >
static void tesseract::ParamUtils::RemoveParam |
( |
T * |
param_ptr, |
|
|
GenericVector< T *> * |
vec |
|
) |
| |
|
inlinestatic |
◆ ResetToDefaults()
void tesseract::ParamUtils::ResetToDefaults |
( |
ParamsVectors * |
member_params | ) |
|
|
static |
◆ SetParam()
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/ccutil/params.h
- /home/stephane/src/tesseract/src/ccutil/params.cpp