| 
    rippled
    
   | 
 
#include <RawStateTable.h>

Classes | |
| struct | sleAction | 
| class | sles_iter_impl | 
Public Types | |
| using | key_type = ReadView::key_type | 
Public Member Functions | |
| RawStateTable () | |
| RawStateTable (RawStateTable const &rhs) | |
| RawStateTable (RawStateTable &&)=default | |
| RawStateTable & | operator= (RawStateTable &&)=delete | 
| RawStateTable & | operator= (RawStateTable const &)=delete | 
| void | apply (RawView &to) const | 
| bool | exists (ReadView const &base, Keylet const &k) const | 
| std::optional< key_type > | succ (ReadView const &base, key_type const &key, std::optional< key_type > const &last) const | 
| void | erase (std::shared_ptr< SLE > const &sle) | 
| void | insert (std::shared_ptr< SLE > const &sle) | 
| void | replace (std::shared_ptr< SLE > const &sle) | 
| std::shared_ptr< SLE const > | read (ReadView const &base, Keylet const &k) const | 
| void | destroyXRP (XRPAmount const &fee) | 
| std::unique_ptr< ReadView::sles_type::iter_base > | slesBegin (ReadView const &base) const | 
| std::unique_ptr< ReadView::sles_type::iter_base > | slesEnd (ReadView const &base) const | 
| std::unique_ptr< ReadView::sles_type::iter_base > | slesUpperBound (ReadView const &base, uint256 const &key) const | 
Static Public Attributes | |
| static constexpr size_t | initialBufferSize = kilobytes(256) | 
Private Types | |
| enum class | Action { erase , insert , replace } | 
| using | items_t = std::map< key_type, sleAction, std::less< key_type >, boost::container::pmr::polymorphic_allocator< std::pair< key_type const, sleAction > > > | 
Private Attributes | |
| std::unique_ptr< boost::container::pmr::monotonic_buffer_resource > | monotonic_resource_ | 
| items_t | items_ | 
| XRPAmount | dropsDestroyed_ {0} | 
Definition at line 17 of file RawStateTable.h.
Definition at line 20 of file RawStateTable.h.
      
  | 
  private | 
Definition at line 105 of file RawStateTable.h.
      
  | 
  strongprivate | 
| Enumerator | |
|---|---|
| erase | |
| insert | |
| replace | |
Definition at line 83 of file RawStateTable.h.
| ripple::detail::RawStateTable::RawStateTable | ( | ) | 
Definition at line 26 of file RawStateTable.h.
| ripple::detail::RawStateTable::RawStateTable | ( | RawStateTable const & | rhs | ) | 
Definition at line 32 of file RawStateTable.h.
      
  | 
  default | 
      
  | 
  delete | 
      
  | 
  delete | 
| void ripple::detail::RawStateTable::apply | ( | RawView & | to | ) | const | 
Definition at line 145 of file RawStateTable.cpp.
Definition at line 167 of file RawStateTable.cpp.
| auto ripple::detail::RawStateTable::succ | ( | ReadView const & | base, | 
| key_type const & | key, | ||
| std::optional< key_type > const & | last | ||
| ) | const | 
Definition at line 188 of file RawStateTable.cpp.
| void ripple::detail::RawStateTable::erase | ( | std::shared_ptr< SLE > const & | sle | ) | 
Definition at line 223 of file RawStateTable.cpp.
| void ripple::detail::RawStateTable::insert | ( | std::shared_ptr< SLE > const & | sle | ) | 
Definition at line 249 of file RawStateTable.cpp.
| void ripple::detail::RawStateTable::replace | ( | std::shared_ptr< SLE > const & | sle | ) | 
Definition at line 274 of file RawStateTable.cpp.
| std::shared_ptr< SLE const > ripple::detail::RawStateTable::read | ( | ReadView const & | base, | 
| Keylet const & | k | ||
| ) | const | 
Definition at line 296 of file RawStateTable.cpp.
| void ripple::detail::RawStateTable::destroyXRP | ( | XRPAmount const & | fee | ) | 
Definition at line 312 of file RawStateTable.cpp.
| std::unique_ptr< ReadView::sles_type::iter_base > ripple::detail::RawStateTable::slesBegin | ( | ReadView const & | base | ) | const | 
Definition at line 318 of file RawStateTable.cpp.
| std::unique_ptr< ReadView::sles_type::iter_base > ripple::detail::RawStateTable::slesEnd | ( | ReadView const & | base | ) | const | 
Definition at line 325 of file RawStateTable.cpp.
| std::unique_ptr< ReadView::sles_type::iter_base > ripple::detail::RawStateTable::slesUpperBound | ( | ReadView const & | base, | 
| uint256 const & | key | ||
| ) | const | 
Definition at line 332 of file RawStateTable.cpp.
      
  | 
  staticconstexpr | 
Definition at line 24 of file RawStateTable.h.
      
  | 
  private | 
Definition at line 114 of file RawStateTable.h.
      
  | 
  private | 
Definition at line 115 of file RawStateTable.h.
      
  | 
  private | 
Definition at line 117 of file RawStateTable.h.