|
wex
v21.04.0
|
Offers a dir with tool support. More...
#include <wex/report/dir.h>

Public Member Functions | |
| tool_dir (const tool &tool, const path &fullpath, const data::dir &data=data::dir()) | |
| Constructor, provide your tool and a path. More... | |
| auto & | get_statistics () const |
| Returns the statistics. | |
Public Member Functions inherited from wex::dir | |
| dir (const path &path, const data::dir &data=data::dir()) | |
| Constructor. More... | |
| virtual | ~dir () |
| Destructor. | |
| virtual bool | on_dir (const path &) |
| Virtual interface. More... | |
| const auto & | data () const |
| Other methods. More... | |
| int | find_files () |
| Finds matching files. More... | |
| const auto & | get_path () const |
| Returns the path. | |
Protected Member Functions | |
| bool | on_file (const path &file) override |
| Do something with the file. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from wex::interruptible | |
| static bool | cancel () |
| Cancel interruptible process. More... | |
| static bool | is_cancelled () |
| Check whether process was cancelled. | |
| static bool | is_running () |
| Is process running. | |
| static bool | start () |
| Starts interruptible process. More... | |
| static void | stop () |
| Stops interruptible process. | |
Offers a dir with tool support.
run_tool is find_files invoked on all matching files.
| wex::report::tool_dir::tool_dir | ( | const tool & | tool, |
| const path & | fullpath, | ||
| const data::dir & | data = data::dir() |
||
| ) |
Constructor, provide your tool and a path.
setup_tool should already be called.