3#include <xrpl/ledger/RawView.h>
4#include <xrpl/ledger/ReadView.h>
6#include <boost/container/pmr/monotonic_buffer_resource.hpp>
7#include <boost/container/pmr/polymorphic_allocator.hpp>
101 boost::container::pmr::polymorphic_allocator<std::pair<key_type const, SleAction>>>;
Interface for ledger entry changes.
std::shared_ptr< STLedgerEntry > const & ref
std::shared_ptr< STLedgerEntry > pointer
std::shared_ptr< STLedgerEntry const > const_pointer
RawStateTable & operator=(RawStateTable const &)=delete
std::optional< key_type > succ(ReadView const &base, key_type const &key, std::optional< key_type > const &last) const
bool exists(ReadView const &base, Keylet const &k) const
void insert(SLE::ref sle)
RawStateTable & operator=(RawStateTable &&)=delete
std::map< key_type, SleAction, std::less< key_type >, boost::container::pmr::polymorphic_allocator< std::pair< key_type const, SleAction > > > items_t
SLE::const_pointer read(ReadView const &base, Keylet const &k) const
std::unique_ptr< ReadView::SlesType::iter_base > slesEnd(ReadView const &base) const
void replace(SLE::ref sle)
std::unique_ptr< boost::container::pmr::monotonic_buffer_resource > monotonicResource_
static constexpr size_t kInitialBufferSize
void apply(RawView &to) const
std::unique_ptr< ReadView::SlesType::iter_base > slesBegin(ReadView const &base) const
ReadView::key_type key_type
RawStateTable(RawStateTable const &rhs)
std::unique_ptr< ReadView::SlesType::iter_base > slesUpperBound(ReadView const &base, uint256 const &key) const
void destroyXRP(XRPAmount const &fee)
RawStateTable(RawStateTable &&)=default
XRPAmount dropsDestroyed_
T get(Section const §ion, std::string const &name, T const &defaultValue=T{})
Retrieve a key/value pair from a section.
constexpr auto kilobytes(T value) noexcept
A pair of SHAMap key and LedgerEntryType.
SleAction(Action action, SLE::pointer sle)