Public Attributes | List of all members
Rose::CommandLine::GenericSwitchArgs Struct Reference


Type for storing generic switch arguments.

For instance, the "--threads=N" switch takes an integer that should be stored somewhere.

See also, genericSwitchArgs.

Definition at line 129 of file roseSupport/CommandLine.h.

#include <CommandLine.h>

Collaboration diagram for Rose::CommandLine::GenericSwitchArgs:
Collaboration graph

Public Attributes

unsigned int threads
 Number of threads analyses should use. More...
std::string smtSolver
 Name of SMT solver interface. More...
bool errorIfDisabled
 Controls behavior of a tool when disabled. More...
Color::Colorization colorization
 Controls colorized output. More...

Member Data Documentation

unsigned int Rose::CommandLine::GenericSwitchArgs::threads

Number of threads analyses should use.

Zero means use the number of threads that the hardware provides.

Definition at line 130 of file roseSupport/CommandLine.h.

std::string Rose::CommandLine::GenericSwitchArgs::smtSolver

Name of SMT solver interface.

"list" means show a list and exit. The empty string means no solver is used. Additional switches might be present to override this global solver for specific situations.

Definition at line 132 of file roseSupport/CommandLine.h.

bool Rose::CommandLine::GenericSwitchArgs::errorIfDisabled

Controls behavior of a tool when disabled.

If true (the default) and a tool's primary feature set is disabled (such as when ROSE is compiled with too old a compiler or without the necessary supporting software packages), then the tool should emit an error message and exit with a failure status. When this data member is false, then the tool will silently exit with success, which is useful during "make check" or similar testing.

Definition at line 136 of file roseSupport/CommandLine.h.

Color::Colorization Rose::CommandLine::GenericSwitchArgs::colorization

Controls colorized output.

Definition at line 143 of file roseSupport/CommandLine.h.

The documentation for this struct was generated from the following file: