18 static constexpr auto DEFAULT_REGEX = R
"(`lastname``firstname`_\d+_\d+_`base`\.`ext`)";
31 static StudentInfo infer_student_names_from_file(
const std::filesystem::path& path);
Definition assignment_file_searcher.hpp:14
bool search_recursive(StudentInfo &student, const std::filesystem::path &base, int max_depth=DEFAULT_SEARCH_DEPTH)
Definition assignment_file_searcher.cpp:34
static constexpr auto DEFAULT_SEARCH_DEPTH
Definition assignment_file_searcher.hpp:19
AssignmentFileSearcher(const Assignment &assignment, std::string var_regex=DEFAULT_REGEX)
Unknown student name; search for any word in place of lastnamefirstname
Definition assignment_file_searcher.cpp:25
static constexpr auto DEFAULT_REGEX
Definition assignment_file_searcher.hpp:18
Declaration for the logic and data encapsulating a class assignment.
Definition assignment.hpp:23
Definition file_searcher.hpp:13
Defines data classes to store result data for the current run session.
Definition asm_buffer.hpp:19
Definition grading_session.hpp:151