#include <Options.h>
Definition at line 341 of file Options.h.
Minisat::BoolOption::BoolOption |
( |
const char * |
c, |
|
|
const char * |
n, |
|
|
const char * |
d, |
|
|
bool |
v |
|
) |
| |
|
inline |
Definition at line 346 of file Options.h.
Option(const char *name_, const char *desc_, const char *cate_, const char *type_)
static const char*& Minisat::Option::getHelpPrefixString |
( |
| ) |
|
|
inlinestaticprotectedinherited |
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 |
( |
| ) |
|
|
inlinestaticprotectedinherited |
Definition at line 56 of file Options.h.
56 {
static vec<Option*> options;
return options; }
static const char*& Minisat::Option::getUsageString |
( |
| ) |
|
|
inlinestaticprotectedinherited |
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 367 of file Options.h.
369 fprintf(stderr,
" -%s, -no-%s",
name,
name);
371 for (uint32_t i = 0; i < 32 - strlen(
name)*2; i++)
372 fprintf(stderr,
" ");
374 fprintf(stderr,
" ");
375 fprintf(stderr,
"(default: %s)\n",
value ?
"on" :
"off");
378 fprintf(stderr,
"\n");
Minisat::BoolOption::operator bool |
( |
void |
| ) |
const |
|
inline |
Minisat::BoolOption::operator bool & |
( |
void |
| ) |
|
|
inline |
BoolOption& Minisat::BoolOption::operator= |
( |
bool |
b | ) |
|
|
inline |
virtual bool Minisat::BoolOption::parse |
( |
const char * |
str | ) |
|
|
inlinevirtual |
Implements Minisat::Option.
Definition at line 353 of file Options.h.
354 const char* span = str;
356 if (
match(span,
"-")){
357 bool b = !
match(span,
"no-");
359 if (strcmp(span,
name) == 0){
static bool match(B &in, const char *str)
const char* Minisat::Option::category |
|
protectedinherited |
const char* Minisat::Option::description |
|
protectedinherited |
const char* Minisat::Option::name |
|
protectedinherited |
const char* Minisat::Option::type_name |
|
protectedinherited |
bool Minisat::BoolOption::value |
|
private |
The documentation for this class was generated from the following file: