| 
    rippled
    
   | 
 
#include <PaymentSandbox.h>

Classes | |
| struct | Adjustment | 
| struct | Value | 
Public Member Functions | |
| std::optional< Adjustment > | adjustments (AccountID const &main, AccountID const &other, Currency const ¤cy) const | 
| void | credit (AccountID const &sender, AccountID const &receiver, STAmount const &amount, STAmount const &preCreditSenderBalance) | 
| void | ownerCount (AccountID const &id, std::uint32_t cur, std::uint32_t next) | 
| std::optional< std::uint32_t > | ownerCount (AccountID const &id) const | 
| void | apply (DeferredCredits &to) | 
Private Types | |
| using | Key = std::tuple< AccountID, AccountID, Currency > | 
Static Private Member Functions | |
| static Key | makeKey (AccountID const &a1, AccountID const &a2, Currency const &c) | 
Private Attributes | |
| std::map< Key, Value > | credits_ | 
| std::map< AccountID, std::uint32_t > | ownerCounts_ | 
Definition at line 17 of file PaymentSandbox.h.
      
  | 
  private | 
Definition at line 60 of file PaymentSandbox.h.
| auto ripple::detail::DeferredCredits::adjustments | ( | AccountID const & | main, | 
| AccountID const & | other, | ||
| Currency const & | currency | ||
| ) | const | 
Definition at line 94 of file PaymentSandbox.cpp.
| void ripple::detail::DeferredCredits::credit | ( | AccountID const & | sender, | 
| AccountID const & | receiver, | ||
| STAmount const & | amount, | ||
| STAmount const & | preCreditSenderBalance | ||
| ) | 
Definition at line 23 of file PaymentSandbox.cpp.
| void ripple::detail::DeferredCredits::ownerCount | ( | AccountID const & | id, | 
| std::uint32_t | cur, | ||
| std::uint32_t | next | ||
| ) | 
Definition at line 69 of file PaymentSandbox.cpp.
| std::optional< std::uint32_t > ripple::detail::DeferredCredits::ownerCount | ( | AccountID const & | id | ) | const | 
Definition at line 84 of file PaymentSandbox.cpp.
| void ripple::detail::DeferredCredits::apply | ( | DeferredCredits & | to | ) | 
Definition at line 123 of file PaymentSandbox.cpp.
      
  | 
  staticprivate | 
Definition at line 11 of file PaymentSandbox.cpp.
Definition at line 73 of file PaymentSandbox.h.
      
  | 
  private | 
Definition at line 74 of file PaymentSandbox.h.