tesseract v5.3.3.20231005
params.h File Reference
#include <tesseract/export.h>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  tesseract::ParamsVectors
 
class  tesseract::ParamUtils
 
class  tesseract::Param
 
class  tesseract::IntParam
 
class  tesseract::BoolParam
 
class  tesseract::StringParam
 
class  tesseract::DoubleParam
 

Namespaces

namespace  tesseract
 

Macros

#define INT_VAR_H(name)   ::tesseract::IntParam name
 
#define BOOL_VAR_H(name)   ::tesseract::BoolParam name
 
#define STRING_VAR_H(name)   ::tesseract::StringParam name
 
#define double_VAR_H(name)   ::tesseract::DoubleParam name
 
#define INT_VAR(name, val, comment)    ::tesseract::IntParam name(val, #name, comment, false, ::tesseract::GlobalParams())
 
#define BOOL_VAR(name, val, comment)    ::tesseract::BoolParam name(val, #name, comment, false, ::tesseract::GlobalParams())
 
#define STRING_VAR(name, val, comment)    ::tesseract::StringParam name(val, #name, comment, false, ::tesseract::GlobalParams())
 
#define double_VAR(name, val, comment)    ::tesseract::DoubleParam name(val, #name, comment, false, ::tesseract::GlobalParams())
 
#define INT_MEMBER(name, val, comment, vec)   name(val, #name, comment, false, vec)
 
#define BOOL_MEMBER(name, val, comment, vec)   name(val, #name, comment, false, vec)
 
#define STRING_MEMBER(name, val, comment, vec)   name(val, #name, comment, false, vec)
 
#define double_MEMBER(name, val, comment, vec)   name(val, #name, comment, false, vec)
 
#define INT_INIT_MEMBER(name, val, comment, vec)   name(val, #name, comment, true, vec)
 
#define BOOL_INIT_MEMBER(name, val, comment, vec)   name(val, #name, comment, true, vec)
 
#define STRING_INIT_MEMBER(name, val, comment, vec)   name(val, #name, comment, true, vec)
 
#define double_INIT_MEMBER(name, val, comment, vec)   name(val, #name, comment, true, vec)
 

Enumerations

enum  tesseract::SetParamConstraint { tesseract::SET_PARAM_CONSTRAINT_NONE , tesseract::SET_PARAM_CONSTRAINT_DEBUG_ONLY , tesseract::SET_PARAM_CONSTRAINT_NON_DEBUG_ONLY , tesseract::SET_PARAM_CONSTRAINT_NON_INIT_ONLY }
 

Functions

tesseract::ParamsVectorstesseract::GlobalParams ()
 

Macro Definition Documentation

◆ BOOL_INIT_MEMBER

#define BOOL_INIT_MEMBER (   name,
  val,
  comment,
  vec 
)    name(val, #name, comment, true, vec)

Definition at line 379 of file params.h.

◆ BOOL_MEMBER

#define BOOL_MEMBER (   name,
  val,
  comment,
  vec 
)    name(val, #name, comment, false, vec)

Definition at line 371 of file params.h.

◆ BOOL_VAR

#define BOOL_VAR (   name,
  val,
  comment 
)     ::tesseract::BoolParam name(val, #name, comment, false, ::tesseract::GlobalParams())

Definition at line 360 of file params.h.

◆ BOOL_VAR_H

#define BOOL_VAR_H (   name)    ::tesseract::BoolParam name

Definition at line 351 of file params.h.

◆ double_INIT_MEMBER

#define double_INIT_MEMBER (   name,
  val,
  comment,
  vec 
)    name(val, #name, comment, true, vec)

Definition at line 383 of file params.h.

◆ double_MEMBER

#define double_MEMBER (   name,
  val,
  comment,
  vec 
)    name(val, #name, comment, false, vec)

Definition at line 375 of file params.h.

◆ double_VAR

#define double_VAR (   name,
  val,
  comment 
)     ::tesseract::DoubleParam name(val, #name, comment, false, ::tesseract::GlobalParams())

Definition at line 366 of file params.h.

◆ double_VAR_H

#define double_VAR_H (   name)    ::tesseract::DoubleParam name

Definition at line 355 of file params.h.

◆ INT_INIT_MEMBER

#define INT_INIT_MEMBER (   name,
  val,
  comment,
  vec 
)    name(val, #name, comment, true, vec)

Definition at line 377 of file params.h.

◆ INT_MEMBER

#define INT_MEMBER (   name,
  val,
  comment,
  vec 
)    name(val, #name, comment, false, vec)

Definition at line 369 of file params.h.

◆ INT_VAR

#define INT_VAR (   name,
  val,
  comment 
)     ::tesseract::IntParam name(val, #name, comment, false, ::tesseract::GlobalParams())

Definition at line 357 of file params.h.

◆ INT_VAR_H

#define INT_VAR_H (   name)    ::tesseract::IntParam name

Definition at line 349 of file params.h.

◆ STRING_INIT_MEMBER

#define STRING_INIT_MEMBER (   name,
  val,
  comment,
  vec 
)    name(val, #name, comment, true, vec)

Definition at line 381 of file params.h.

◆ STRING_MEMBER

#define STRING_MEMBER (   name,
  val,
  comment,
  vec 
)    name(val, #name, comment, false, vec)

Definition at line 373 of file params.h.

◆ STRING_VAR

#define STRING_VAR (   name,
  val,
  comment 
)     ::tesseract::StringParam name(val, #name, comment, false, ::tesseract::GlobalParams())

Definition at line 363 of file params.h.

◆ STRING_VAR_H

#define STRING_VAR_H (   name)    ::tesseract::StringParam name

Definition at line 353 of file params.h.