#include <program_options.hpp>
|
enum class | VerbosityLevel {
Silent
, Quiet
, Summary
, FailsOnly
,
All
, Extra
, Max
} |
| See Description of Levels for an explaination of each of the levels. Max is just used as a sentinal for now. More...
|
|
enum class | StopOpt { Never
, FirstError
, EachTestError
} |
| Never = stop only on fatal errors FirstError = stop completely on the first error encountered EachTestError = stop each test early upon error, but still attempt to run subsequent tests. More...
|
|
enum class | ColorizeOpt { Auto
, Always
, Never
} |
|
◆ ColorizeOpt
Enumerator |
---|
Auto | |
Always | |
Never | |
◆ StopOpt
Never = stop only on fatal errors FirstError = stop completely on the first error encountered EachTestError = stop each test early upon error, but still attempt to run subsequent tests.
Enumerator |
---|
Never | |
FirstError | |
EachTestError | |
◆ VerbosityLevel
See Description of Levels for an explaination of each of the levels. Max
is just used as a sentinal for now.
◆ ensure_file_exists()
static Expected< void, std::string > asmgrader::ProgramOptions::ensure_file_exists |
( |
const std::filesystem::path & | path, |
|
|
fmt::format_string< std::string > | fmt ) |
|
inlinestatic |
◆ ensure_is_directory()
static Expected< void, std::string > asmgrader::ProgramOptions::ensure_is_directory |
( |
const std::filesystem::path & | path, |
|
|
fmt::format_string< std::string > | fmt ) |
|
inlinestatic |
◆ ensure_is_regular_file()
static Expected< void, std::string > asmgrader::ProgramOptions::ensure_is_regular_file |
( |
const std::filesystem::path & | path, |
|
|
fmt::format_string< std::string > | fmt ) |
|
inlinestatic |
◆ validate()
Expected< void, std::string > asmgrader::ProgramOptions::validate |
( |
| ) |
|
|
inline |
Verify that all fields are valid.
◆ assignment_name
std::string asmgrader::ProgramOptions::assignment_name |
◆ colorize_option
◆ database_path
◆ DEFAULT_DATABASE_PATH
std::string_view asmgrader::ProgramOptions::DEFAULT_DATABASE_PATH = "students.csv" |
|
staticconstexpr |
◆ DEFAULT_FILE_MATCHER
◆ DEFAULT_SEARCH_PATH
std::string_view asmgrader::ProgramOptions::DEFAULT_SEARCH_PATH = "." |
|
staticconstexpr |
◆ DEFAULT_VERBOSITY_LEVEL
◆ file_matcher
◆ file_name
std::optional<std::string> asmgrader::ProgramOptions::file_name |
◆ search_path
◆ stop_option
◆ verbosity
The documentation for this struct was generated from the following file: