tesseract  4.1.1
tesseract::Param Class Reference

#include <params.h>

Inheritance diagram for tesseract::Param:
tesseract::BoolParam tesseract::DoubleParam tesseract::IntParam tesseract::StringParam

Public Member Functions

 ~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
 

Protected Member Functions

 Param (const char *name, const char *comment, bool init)
 

Protected Attributes

const char * name_
 
const char * info_
 
bool init_
 
bool debug_
 

Detailed Description

Definition at line 125 of file params.h.

Constructor & Destructor Documentation

◆ ~Param()

tesseract::Param::~Param ( )
default

◆ Param()

tesseract::Param::Param ( const char *  name,
const char *  comment,
bool  init 
)
inlineprotected

Definition at line 143 of file params.h.

148  { ParamUtils::RemoveParam<IntParam>(this, params_vec_); }

Member Function Documentation

◆ constraint_ok()

bool tesseract::Param::constraint_ok ( SetParamConstraint  constraint) const
inline

Definition at line 133 of file params.h.

138  : public Param {
139  public:
140  IntParam(int32_t value, const char* name, const char* comment, bool init,

◆ info_str()

const char* tesseract::Param::info_str ( ) const
inline

Definition at line 130 of file params.h.

138 : public Param {

◆ is_debug()

bool tesseract::Param::is_debug ( ) const
inline

Definition at line 132 of file params.h.

138 : public Param {

◆ is_init()

bool tesseract::Param::is_init ( ) const
inline

Definition at line 131 of file params.h.

138 : public Param {

◆ name_str()

const char* tesseract::Param::name_str ( ) const
inline

Definition at line 129 of file params.h.

138 : public Param {

Member Data Documentation

◆ debug_

bool tesseract::Param::debug_
protected

Definition at line 151 of file params.h.

◆ info_

const char* tesseract::Param::info_
protected

Definition at line 149 of file params.h.

◆ init_

bool tesseract::Param::init_
protected

Definition at line 150 of file params.h.

◆ name_

const char* tesseract::Param::name_
protected

Definition at line 148 of file params.h.


The documentation for this class was generated from the following file:
tesseract::Param::Param
Param(const char *name, const char *comment, bool init)
Definition: params.h:143