tesseract  5.0.0-alpha-619-ge9db
commandlineflags_test.cc File Reference
#include "commandlineflags.h"
#include "include_gunit.h"

Go to the source code of this file.

Functions

 INT_PARAM_FLAG (foo_int, 0, "Integer flag for testing")
 
 INT_PARAM_FLAG (bar_int, 0, "Integer flag for testing")
 
 DOUBLE_PARAM_FLAG (foo_double, 0.1, "Double flag for testing")
 
 DOUBLE_PARAM_FLAG (bar_double, 0.2, "Double flag for testing")
 
 STRING_PARAM_FLAG (foo_string, "foo", "String flag for testing")
 
 STRING_PARAM_FLAG (bar_string, "bar", "String flag for testing")
 
 BOOL_PARAM_FLAG (foo_bool, false, "Bool flag for testing")
 
 BOOL_PARAM_FLAG (bar_bool, false, "Bool flag for testing")
 
 STRING_PARAM_FLAG (q, "", "Single character name")
 

Function Documentation

◆ BOOL_PARAM_FLAG() [1/2]

BOOL_PARAM_FLAG ( bar_bool  ,
false  ,
"Bool flag for testing"   
)

◆ BOOL_PARAM_FLAG() [2/2]

BOOL_PARAM_FLAG ( foo_bool  ,
false  ,
"Bool flag for testing"   
)

◆ DOUBLE_PARAM_FLAG() [1/2]

DOUBLE_PARAM_FLAG ( bar_double  ,
0.  2,
"Double flag for testing"   
)

◆ DOUBLE_PARAM_FLAG() [2/2]

DOUBLE_PARAM_FLAG ( foo_double  ,
0.  1,
"Double flag for testing"   
)

◆ INT_PARAM_FLAG() [1/2]

INT_PARAM_FLAG ( bar_int  ,
,
"Integer flag for testing"   
)

◆ INT_PARAM_FLAG() [2/2]

INT_PARAM_FLAG ( foo_int  ,
,
"Integer flag for testing"   
)

◆ STRING_PARAM_FLAG() [1/3]

STRING_PARAM_FLAG ( bar_string  ,
"bar"  ,
"String flag for testing"   
)

◆ STRING_PARAM_FLAG() [2/3]

STRING_PARAM_FLAG ( foo_string  ,
"foo"  ,
"String flag for testing"   
)

◆ STRING_PARAM_FLAG() [3/3]

STRING_PARAM_FLAG ( ,
""  ,
"Single character name"   
)