Tesseract  3.02
tesseract::DoubleParam Class Reference

#include <params.h>

Inheritance diagram for tesseract::DoubleParam:

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 197 of file params.h.

Constructor & Destructor Documentation

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

Definition at line 199 of file params.h.

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

Definition at line 205 of file params.h.

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

Member Function Documentation

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

Definition at line 206 of file params.h.

{ return value_; }
void tesseract::DoubleParam::set_value ( double  value) [inline]

Definition at line 207 of file params.h.

{ value_ = value; }

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