All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
commandlineflags.h File Reference
#include "base/commandlineflags.h"

Go to the source code of this file.

Namespaces

 tesseract
 

Macros

#define INT_PARAM_FLAG(name, val, comment)   DEFINE_int32(name, val, comment)
 
#define DECLARE_INT_PARAM_FLAG(name)   DECLARE_int32(name)
 
#define DOUBLE_PARAM_FLAG(name, val, comment)   DEFINE_double(name, val, comment)
 
#define DECLARE_DOUBLE_PARAM_FLAG(name)   DECLARE_double(name)
 
#define BOOL_PARAM_FLAG(name, val, comment)   DEFINE_bool(name, val, comment)
 
#define DECLARE_BOOL_PARAM_FLAG(name)   DECLARE_bool(name)
 
#define STRING_PARAM_FLAG(name, val, comment)   DEFINE_string(name, val, comment)
 
#define DECLARE_STRING_PARAM_FLAG(name)   DECLARE_string(name)
 

Functions

void tesseract::ParseCommandLineFlags (const char *usage, int *argc, char ***argv, const bool remove_flags)
 

Macro Definition Documentation

#define BOOL_PARAM_FLAG (   name,
  val,
  comment 
)    DEFINE_bool(name, val, comment)

Definition at line 56 of file commandlineflags.h.

#define DECLARE_BOOL_PARAM_FLAG (   name)    DECLARE_bool(name)

Definition at line 58 of file commandlineflags.h.

#define DECLARE_DOUBLE_PARAM_FLAG (   name)    DECLARE_double(name)

Definition at line 54 of file commandlineflags.h.

#define DECLARE_INT_PARAM_FLAG (   name)    DECLARE_int32(name)

Definition at line 50 of file commandlineflags.h.

#define DECLARE_STRING_PARAM_FLAG (   name)    DECLARE_string(name)

Definition at line 62 of file commandlineflags.h.

#define DOUBLE_PARAM_FLAG (   name,
  val,
  comment 
)    DEFINE_double(name, val, comment)

Definition at line 52 of file commandlineflags.h.

#define INT_PARAM_FLAG (   name,
  val,
  comment 
)    DEFINE_int32(name, val, comment)

Definition at line 48 of file commandlineflags.h.

#define STRING_PARAM_FLAG (   name,
  val,
  comment 
)    DEFINE_string(name, val, comment)

Definition at line 60 of file commandlineflags.h.