| 
    rippled
    
   | 
 
A class that simplifies iterating ledger directory pages. More...
#include <Dir.h>

Classes | |
| class | const_iterator | 
Public Types | |
| using | value_type = std::shared_ptr< SLE const > | 
Public Member Functions | |
| Dir (ReadView const &, Keylet const &) | |
| const_iterator | begin () const | 
| const_iterator | end () const | 
Private Attributes | |
| ReadView const * | view_ = nullptr | 
| Keylet | root_ | 
| std::shared_ptr< SLE const > | sle_ | 
| STVector256 const * | indexes_ = nullptr | 
A class that simplifies iterating ledger directory pages.
The Dir class provides a forward iterator for walking through the uint256 values contained in ledger directories.
The Dir class also allows accelerated directory walking by stepping directly from one page to the next using the next_page() member function.
As of July 2024, the Dir class is only being used with NFTokenOffer directories and for unit tests.
| using ripple::Dir::value_type = std::shared_ptr<SLE const> | 
      
  | 
  private | 
      
  | 
  private |