dirtree_cursor_t Struct Reference
Position in the directory tree. More...
#include <dirtree.hpp>
Public Member Functions | |
dirtree_cursor_t (diridx_t _parent=direntry_t::BADIDX, size_t _rank=size_t(-1)) | |
bool | valid () const |
bool | is_root_cursor () const |
void | set_root_cursor (void) |
if (parent > r.parent) return 1 | |
if (rank< r.rank) return -1 | |
if (rank > r.rank) return 1 | |
Static Public Member Functions | |
static dirtree_cursor_t | root_cursor () |
Public Attributes | |
diridx_t | parent |
the parent directory | |
size_t | rank |
the index into the parent directory | |
return | |
Detailed Description
Position in the directory tree.
The documentation for this struct was generated from the following file:
Generated by 1.9.3