Tesseract  3.02
tesseract::BoolParam Class Reference

#include <params.h>

Inheritance diagram for tesseract::BoolParam:

List of all members.

Public Member Functions

 BoolParam (bool value, const char *name, const char *comment, bool init, ParamsVectors *vec)
 ~BoolParam ()
 operator BOOL8 () const
void set_value (BOOL8 value)

Detailed Description

Definition at line 158 of file params.h.

Constructor & Destructor Documentation

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

Definition at line 160 of file params.h.

                                : Param(name, comment, init) {
    value_ = value;
    params_vec_ = &(vec->bool_params);
tesseract::BoolParam::~BoolParam ( ) [inline]

Definition at line 166 of file params.h.

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

Member Function Documentation

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

Definition at line 167 of file params.h.

{ return value_; }
void tesseract::BoolParam::set_value ( BOOL8  value) [inline]

Definition at line 168 of file params.h.

{ value_ = value; }

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