| 
    rippled
    
   | 
 
#include <STCurrency.h>


Public Types | |
| using | value_type = Currency | 
Public Member Functions | |
| STCurrency ()=default | |
| STCurrency (SerialIter &sit, SField const &name) | |
| STCurrency (SField const &name, Currency const ¤cy) | |
| STCurrency (SField const &name) | |
| Currency const & | currency () const | 
| Currency const & | value () const noexcept | 
| void | setCurrency (Currency const ¤cy) | 
| SerializedTypeID | getSType () const override | 
| std::string | getText () const override | 
| Json::Value | getJson (JsonOptions) const override | 
| void | add (Serializer &s) const override | 
| bool | isEquivalent (STBase const &t) const override | 
| bool | isDefault () const override | 
| bool | operator== (STBase const &t) const | 
| bool | operator!= (STBase const &t) const | 
| template<class D > | |
| D & | downcast () | 
| template<class D > | |
| D const & | downcast () const | 
| template<class D > | |
| D const & | downcast () const | 
| virtual std::string | getFullText () const | 
| void | setFName (SField const &n) | 
| A STBase is a field.   | |
| SField const & | getFName () const | 
| void | addFieldID (Serializer &s) const | 
Static Protected Member Functions | |
| template<class T > | |
| static STBase * | emplace (std::size_t n, void *buf, T &&val) | 
Private Member Functions | |
| STBase * | copy (std::size_t n, void *buf) const override | 
| STBase * | move (std::size_t n, void *buf) override | 
Static Private Member Functions | |
| static std::unique_ptr< STCurrency > | construct (SerialIter &, SField const &name) | 
Private Attributes | |
| Currency | currency_ {} | 
| SField const * | fName | 
Friends | |
| class | detail::STVar | 
Definition at line 31 of file STCurrency.h.
Definition at line 37 of file STCurrency.h.
      
  | 
  default | 
      
  | 
  explicit | 
Definition at line 40 of file STCurrency.cpp.
Definition at line 45 of file STCurrency.cpp.
      
  | 
  explicit | 
Definition at line 36 of file STCurrency.cpp.
| Currency const & ripple::STCurrency::currency | ( | ) | const | 
Definition at line 89 of file STCurrency.h.
      
  | 
  noexcept | 
Definition at line 95 of file STCurrency.h.
| void ripple::STCurrency::setCurrency | ( | Currency const & | currency | ) | 
Definition at line 101 of file STCurrency.h.
      
  | 
  overridevirtual | 
Reimplemented from ripple::STBase.
Definition at line 51 of file STCurrency.cpp.
      
  | 
  overridevirtual | 
Reimplemented from ripple::STBase.
Definition at line 57 of file STCurrency.cpp.
      
  | 
  overridevirtual | 
Reimplemented from ripple::STBase.
Definition at line 63 of file STCurrency.cpp.
      
  | 
  overridevirtual | 
Reimplemented from ripple::STBase.
Definition at line 69 of file STCurrency.cpp.
      
  | 
  overridevirtual | 
Reimplemented from ripple::STBase.
Definition at line 75 of file STCurrency.cpp.
      
  | 
  overridevirtual | 
Reimplemented from ripple::STBase.
Definition at line 82 of file STCurrency.cpp.
      
  | 
  staticprivate | 
Definition at line 88 of file STCurrency.cpp.
      
  | 
  overrideprivatevirtual | 
Reimplemented from ripple::STBase.
Definition at line 94 of file STCurrency.cpp.
      
  | 
  overrideprivatevirtual | 
Reimplemented from ripple::STBase.
Definition at line 100 of file STCurrency.cpp.
      
  | 
  inherited | 
Definition at line 51 of file STBase.cpp.
      
  | 
  inherited | 
Definition at line 57 of file STBase.cpp.
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  inherited | 
      
  | 
  virtualinherited | 
Reimplemented in ripple::STAmount, ripple::STArray, ripple::STLedgerEntry, ripple::STObject, and ripple::STTx.
Definition at line 81 of file STBase.cpp.
      
  | 
  inherited | 
      
  | 
  inherited | 
Definition at line 143 of file STBase.cpp.
      
  | 
  inherited | 
Definition at line 149 of file STBase.cpp.
      
  | 
  staticprotectedinherited | 
      
  | 
  friend | 
Definition at line 82 of file STCurrency.h.
      
  | 
  private | 
Definition at line 34 of file STCurrency.h.