|
HART
0.2.0
High level Audio Regression and Testing
|
Holds values set by the user via CLI interface. More...
#include <hart_cliconfig.hpp>
Public Member Functions | |
| void | initCommandLineArgs () |
| Inits the CLI arguments. | |
| CLI::App & | getCLIApp () |
| std::string | getDataRootPath () |
| Get data root path set by a "`--data-root-path`,`-d`" argument. | |
| uint_fast32_t | getRandomSeed () |
| Gets random seed set by a "`--seed`/`-s`" argument. | |
| int | getLinDecimals () |
| int | getDbDecimals () |
| int | getSecDecimals () |
| int | getHzDecimals () |
| int | getRadDecimals () |
| int | getCentsDecimals () |
| bool | shouldRunGenerators () |
| bool | shouldShuffleTasks () |
| std::string & | getTags () |
Static Public Member Functions | |
| static CLIConfig & | getInstance () |
| Get the singleton instance. | |
Holds values set by the user via CLI interface.
It's mostly intended for the internal use, but you may access it in your own test cases as well
Definition at line 12 of file hart_cliconfig.hpp.
Get the singleton instance.
Definition at line 16 of file hart_cliconfig.hpp.
|
inline |
Inits the CLI arguments.
Definition at line 23 of file hart_cliconfig.hpp.
|
inline |
Definition at line 69 of file hart_cliconfig.hpp.
|
inline |
Get data root path set by a "`--data-root-path`,`-d`" argument.
Definition at line 72 of file hart_cliconfig.hpp.
|
inline |
Gets random seed set by a "`--seed`/`-s`" argument.
You can use it in your test cases to keep your own random-ness dependent on the global random seed
Definition at line 76 of file hart_cliconfig.hpp.
|
inline |
Definition at line 79 of file hart_cliconfig.hpp.
|
inline |
Definition at line 82 of file hart_cliconfig.hpp.
|
inline |
Definition at line 85 of file hart_cliconfig.hpp.
|
inline |
Definition at line 88 of file hart_cliconfig.hpp.
|
inline |
Definition at line 91 of file hart_cliconfig.hpp.
|
inline |
Definition at line 94 of file hart_cliconfig.hpp.
|
inline |
Definition at line 96 of file hart_cliconfig.hpp.
|
inline |
Definition at line 97 of file hart_cliconfig.hpp.
|
inline |
Definition at line 98 of file hart_cliconfig.hpp.