#include <params.h>
List of all members.
Static Public Member Functions |
static bool | ReadParamsFile (const char *file, bool init_only, ParamsVectors *member_params) |
static bool | ReadParamsFromFp (FILE *fp, inT64 end_offset, bool init_only, ParamsVectors *member_params) |
static bool | SetParam (const char *name, const char *value, bool init_only, 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) |
Member Function Documentation
template<class T >
static T* tesseract::ParamUtils::FindParam |
( |
const char * |
name, |
|
|
const GenericVector< T * > & |
global_vec, |
|
|
const GenericVector< T * > & |
member_vec |
|
) |
| [inline, static] |
bool tesseract::ParamUtils::GetParamAsString |
( |
const char * |
name, |
|
|
const ParamsVectors * |
member_params, |
|
|
STRING * |
value |
|
) |
| [static] |
void tesseract::ParamUtils::PrintParams |
( |
FILE * |
fp, |
|
|
const ParamsVectors * |
member_params |
|
) |
| [static] |
bool tesseract::ParamUtils::ReadParamsFile |
( |
const char * |
file, |
|
|
bool |
init_only, |
|
|
ParamsVectors * |
member_params |
|
) |
| [static] |
bool tesseract::ParamUtils::ReadParamsFromFp |
( |
FILE * |
fp, |
|
|
inT64 |
end_offset, |
|
|
bool |
init_only, |
|
|
ParamsVectors * |
member_params |
|
) |
| [static] |
template<class T >
static void tesseract::ParamUtils::RemoveParam |
( |
T * |
param_ptr, |
|
|
GenericVector< T * > * |
vec |
|
) |
| [inline, static] |
bool tesseract::ParamUtils::SetParam |
( |
const char * |
name, |
|
|
const char * |
value, |
|
|
bool |
init_only, |
|
|
ParamsVectors * |
member_params |
|
) |
| [static] |
The documentation for this class was generated from the following files: