|
Tesseract
3.02
|
#include <params.h>
Public Member Functions | |
| ~Param () | |
| 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_ |
| tesseract::Param::Param | ( | const char * | name, |
| const char * | comment, | ||
| bool | init | ||
| ) | [inline, protected] |
| bool tesseract::Param::constraint_ok | ( | SetParamConstraint | constraint | ) | const [inline] |
Definition at line 118 of file params.h.
{
return (constraint == SET_PARAM_CONSTRAINT_NONE ||
(constraint == SET_PARAM_CONSTRAINT_DEBUG_ONLY &&
this->is_debug()) ||
(constraint == SET_PARAM_CONSTRAINT_NON_DEBUG_ONLY &&
!this->is_debug()) ||
(constraint == SET_PARAM_CONSTRAINT_NON_INIT_ONLY &&
!this->is_init()));
}
| const char* tesseract::Param::info_str | ( | ) | const [inline] |
| bool tesseract::Param::is_debug | ( | ) | const [inline] |
| bool tesseract::Param::is_init | ( | ) | const [inline] |
| const char* tesseract::Param::name_str | ( | ) | const [inline] |
bool tesseract::Param::debug_ [protected] |
const char* tesseract::Param::info_ [protected] |
bool tesseract::Param::init_ [protected] |
const char* tesseract::Param::name_ [protected] |