|
wex
v21.04.0
|
Offers a dir with reporting to a listview. More...
#include <wex/report/dir.h>

Public Member Functions | |
| dir (wex::listview *listview, const path &fullpath, const data::dir &data=data::dir()) | |
| Constructor, provide your listview and a path. | |
Public Member Functions inherited from wex::dir | |
| dir (const path &path, const data::dir &data=data::dir()) | |
| Constructor. More... | |
| virtual | ~dir () |
| Destructor. | |
| 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_dir (const path &dir) override |
| Virtual interface. More... | |
| 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 reporting to a listview.
All matching files and folders are added as listitem to the listview.
|
overrideprotectedvirtual |
Virtual interface.
Do something with the dir. Not made pure virtual, to allow this class to be tested by calling find_files.
Reimplemented from wex::dir.