tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
tesseract::DoubleParam Class Reference

#include <params.h>

Inheritance diagram for tesseract::DoubleParam:
Collaboration diagram for tesseract::DoubleParam:

Public Member Functions

 DoubleParam (double value, const char *name, const char *comment, bool init, ParamsVectors *vec)
 
 ~DoubleParam ()
 
 operator double () const
 
void operator= (double value)
 
void set_value (double value)
 
void ResetToDefault ()
 
- Public Member Functions inherited from tesseract::Param
 ~Param ()=default
 
const char * name_str () const
 
const char * info_str () const
 
bool is_init () const
 
bool is_debug () const
 
bool constraint_ok (SetParamConstraint constraint) const
 

Private Attributes

double value_
 
double default_
 
GenericVector< DoubleParam * > * params_vec_
 

Additional Inherited Members

- Protected Member Functions inherited from tesseract::Param
 Param (const char *name, const char *comment, bool init)
 
- Protected Attributes inherited from tesseract::Param
const char * name_
 
const char * info_
 
bool init_
 
bool debug_
 

Constructor & Destructor Documentation

◆ DoubleParam()

tesseract::DoubleParam::DoubleParam ( double  value,
const char *  name,
const char *  comment,
bool  init,
ParamsVectors vec 
)
inline

◆ ~DoubleParam()

tesseract::DoubleParam::~DoubleParam ( )
inline

Member Function Documentation

◆ operator double()

tesseract::DoubleParam::operator double ( ) const
inline

◆ operator=()

void tesseract::DoubleParam::operator= ( double  value)
inline

◆ ResetToDefault()

void tesseract::DoubleParam::ResetToDefault ( )
inline

◆ set_value()

void tesseract::DoubleParam::set_value ( double  value)
inline

Member Data Documentation

◆ default_

double tesseract::DoubleParam::default_
private

◆ params_vec_

GenericVector<DoubleParam *>* tesseract::DoubleParam::params_vec_
private

◆ value_

double tesseract::DoubleParam::value_
private

The documentation for this class was generated from the following file: