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

#include <params.h>

Inheritance diagram for tesseract::IntParam:
Collaboration diagram for tesseract::IntParam:

Public Member Functions

 IntParam (int32_t value, const char *name, const char *comment, bool init, ParamsVectors *vec)
 
 ~IntParam ()
 
 operator int32_t () const
 
void operator= (int32_t value)
 
void set_value (int32_t 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

int32_t value_
 
int32_t default_
 
GenericVector< IntParam * > * 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

◆ IntParam()

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

◆ ~IntParam()

tesseract::IntParam::~IntParam ( )
inline

Member Function Documentation

◆ operator int32_t()

tesseract::IntParam::operator int32_t ( ) const
inline

◆ operator=()

void tesseract::IntParam::operator= ( int32_t  value)
inline

◆ ResetToDefault()

void tesseract::IntParam::ResetToDefault ( )
inline

◆ set_value()

void tesseract::IntParam::set_value ( int32_t  value)
inline

Member Data Documentation

◆ default_

int32_t tesseract::IntParam::default_
private

◆ params_vec_

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

◆ value_

int32_t tesseract::IntParam::value_
private

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