#include <program_options.hpp>
◆ 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 | |
◆ 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: