FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
Store the options sent through the CLI. More...
#include <CompatibilityState.hpp>
Public Member Functions | |
bool | isVerbosityDebug () const |
Check if verbosity is set. More... | |
bool | doJsonOutput () const |
Check if JSON output is required. More... | |
CompatibilityCliOptions (int verbosity, bool json) | |
Constructor for CompatibilityCliOptions. More... | |
CompatibilityCliOptions () | |
Default constructor for CompatibilityCliOptions. | |
Private Attributes | |
int | verbosity |
bool | json |
Store the options sent through the CLI.
Definition at line 23 of file CompatibilityState.hpp.
CompatibilityCliOptions::CompatibilityCliOptions | ( | int | verbosity, |
bool | json | ||
) |
Constructor for CompatibilityCliOptions.
verbosity | Verbosity set by CLI |
json | True to get output in JSON format |
Definition at line 56 of file CompatibilityState.cc.
bool CompatibilityCliOptions::doJsonOutput | ( | ) | const |
Check if JSON output is required.
Definition at line 90 of file CompatibilityState.cc.
bool CompatibilityCliOptions::isVerbosityDebug | ( | ) | const |
Check if verbosity is set.
Definition at line 81 of file CompatibilityState.cc.
|
private |
Whether to generate JSON output
Definition at line 27 of file CompatibilityState.hpp.
|
private |
The verbosity level
Definition at line 26 of file CompatibilityState.hpp.