#include <Options.h>
Inherits Minisat::Option.
Definition at line 342 of file Options.h.
Definition at line 347 of file Options.h.
Option(const char *name_, const char *desc_, const char *cate_, const char *type_)
static const char*& Minisat::Option::getHelpPrefixString |
( |
| ) |
|
|
inlinestaticinherited |
Definition at line 58 of file Options.h.
58 {
static const char* help_prefix_str =
"";
return help_prefix_str; }
static vec<Option*>& Minisat::Option::getOptionList |
( |
| ) |
|
|
inlinestaticinherited |
Definition at line 56 of file Options.h.
56 {
static vec<Option*> options;
return options; }
static const char*& Minisat::Option::getUsageString |
( |
| ) |
|
|
inlinestaticinherited |
Definition at line 57 of file Options.h.
57 {
static const char* usage_str;
return usage_str; }
virtual void Minisat::BoolOption::help |
( |
bool |
verbose = false | ) |
|
|
inlinevirtual |
Implements Minisat::Option.
Definition at line 368 of file Options.h.
370 fprintf(stderr,
" -%s, -no-%s",
name,
name);
372 for (uint32_t i = 0; i < 32 -
strlen(
name)*2; i++)
373 fprintf(stderr,
" ");
375 fprintf(stderr,
" ");
376 fprintf(stderr,
"(default: %s)\n",
value ?
"on" :
"off");
379 fprintf(stderr,
"\n");
Minisat::BoolOption::operator bool |
( |
void |
| ) |
const |
|
inline |
Minisat::BoolOption::operator bool & |
( |
void |
| ) |
|
|
inline |
virtual bool Minisat::BoolOption::parse |
( |
const char * |
str | ) |
|
|
inlinevirtual |
Implements Minisat::Option.
Definition at line 354 of file Options.h.
355 const char* span = str;
357 if (
match(span,
"-")){
358 bool b = !
match(span,
"no-");
static bool match(B &in, const char *str)
const char* Minisat::Option::category |
|
inherited |
const char* Minisat::Option::description |
|
inherited |
const char* Minisat::Option::name |
|
inherited |
const char* Minisat::Option::type_name |
|
inherited |
bool Minisat::BoolOption::value |
|
private |
The documentation for this class was generated from the following file: