#include <file_searcher.hpp>
|
| | FileSearcher (std::string expr, std::map< std::string, std::string > args={}) |
| |
| std::vector< std::filesystem::path > | search (const std::filesystem::path &base) |
| | Equivalent to search_recursive(base, 0)
|
| |
| std::vector< std::filesystem::path > | search_recursive (const std::filesystem::path &base, int max_depth=DEFAULT_SEARCH_DEPTH) |
| |
|
| std::string | set_arg (const std::string &key, std::string_view value) |
| |
| std::string | get_expr () const |
| |
◆ FileSearcher()
| asmgrader::FileSearcher::FileSearcher |
( |
std::string | expr, |
|
|
std::map< std::string, std::string > | args = {} ) |
|
explicit |
◆ get_expr()
| std::string asmgrader::FileSearcher::get_expr |
( |
| ) |
const |
|
protected |
◆ search()
| std::vector< std::filesystem::path > asmgrader::FileSearcher::search |
( |
const std::filesystem::path & | base | ) |
|
Equivalent to search_recursive(base, 0)
◆ search_recursive()
| std::vector< std::filesystem::path > asmgrader::FileSearcher::search_recursive |
( |
const std::filesystem::path & | base, |
|
|
int | max_depth = DEFAULT_SEARCH_DEPTH ) |
◆ set_arg()
| std::string asmgrader::FileSearcher::set_arg |
( |
const std::string & | key, |
|
|
std::string_view | value ) |
|
protected |
◆ DEFAULT_SEARCH_DEPTH
| auto asmgrader::FileSearcher::DEFAULT_SEARCH_DEPTH = 10 |
|
staticconstexpr |
The documentation for this class was generated from the following files: