dirtree_visitor_t Struct Referenceabstract
A visitor, for use with dirtree_t::traverse. More...
#include <dirtree.hpp>
Public Member Functions | |
virtual ssize_t | visit (const dirtree_cursor_t &c, const direntry_t &de)=0 |
Will be called for each entry in the dirtree_t If something other than 0 is returned, iteration will stop. More... | |
Detailed Description
A visitor, for use with dirtree_t::traverse.
Member Function Documentation
◆ visit()
|
pure virtual |
Will be called for each entry in the dirtree_t If something other than 0 is returned, iteration will stop.
- Parameters
-
c the current cursor de the current entry
- Returns
- 0 to keep iterating, or anything else to stop
The documentation for this struct was generated from the following file:
Generated by 1.9.3