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

#include <params.h>

Inheritance diagram for tesseract::BoolParam:
Collaboration diagram for tesseract::BoolParam:

Public Member Functions

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

BOOL8 value_
 
BOOL8 default_
 
GenericVector< BoolParam * > * 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

◆ BoolParam()

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

◆ ~BoolParam()

tesseract::BoolParam::~BoolParam ( )
inline

Member Function Documentation

◆ operator BOOL8()

tesseract::BoolParam::operator BOOL8 ( ) const
inline

◆ operator=()

void tesseract::BoolParam::operator= ( BOOL8  value)
inline

◆ ResetToDefault()

void tesseract::BoolParam::ResetToDefault ( )
inline

◆ set_value()

void tesseract::BoolParam::set_value ( BOOL8  value)
inline

Member Data Documentation

◆ default_

BOOL8 tesseract::BoolParam::default_
private

◆ params_vec_

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

◆ value_

BOOL8 tesseract::BoolParam::value_
private

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