FST  openfst-1.7.2
OpenFst Library
Functions
flags.cc File Reference
#include <cstring>
#include <fst/compat.h>
#include <fst/flags.h>
Include dependency graph for flags.cc:

Go to the source code of this file.

Functions

 DEFINE_int32 (v, 0,"verbosity level")
 
 DEFINE_bool (help, false,"show usage information")
 
 DEFINE_bool (helpshort, false,"show brief usage information")
 
 DEFINE_string (tmpdir, private_tmpdir?private_tmpdir:"/tmp","temporary directory")
 
void SetFlags (const char *usage, int *argc, char ***argv, bool remove_flags, const char *src)
 
void ShowUsage (bool long_usage)
 

Function Documentation

DEFINE_bool ( help  ,
false  ,
"show usage information"   
)
DEFINE_bool ( helpshort  ,
false  ,
"show brief usage information"   
)
DEFINE_int32 ( ,
,
"verbosity level"   
)
DEFINE_string ( tmpdir  ,
private_tmpdir?private_tmpdir:"/tmp"  ,
"temporary directory"   
)
void SetFlags ( const char *  usage,
int *  argc,
char ***  argv,
bool  remove_flags,
const char *  src 
)

Definition at line 46 of file flags.cc.

void ShowUsage ( bool  long_usage)

Definition at line 124 of file flags.cc.