|
rippled
|


Classes | |
| class | StepCounter |
Public Member Functions | |
| TOfferStreamBase (ApplyView &view, ApplyView &cancelView, Book const &book, NetClock::time_point when, StepCounter &counter, beast::Journal journal) | |
| virtual | ~TOfferStreamBase ()=default |
| TOffer< TIn, TOut > & | tip () const |
| Returns the offer at the tip of the order book. More... | |
| bool | step () |
| Advance to the next valid offer. More... | |
| TOut | ownerFunds () const |
Protected Member Functions | |
| void | erase (ApplyView &view) |
| virtual void | permRmOffer (uint256 const &offerIndex)=0 |
| template<class TTakerPays , class TTakerGets > | |
| bool | shouldRmSmallIncreasedQOffer () const |
Protected Attributes | |
| const beast::Journal | j_ |
| ApplyView & | view_ |
| ApplyView & | cancelView_ |
| Book | book_ |
| bool | validBook_ |
| const NetClock::time_point | expire_ |
| BookTip | tip_ |
| TOffer< TIn, TOut > | offer_ |
| std::optional< TOut > | ownerFunds_ |
| StepCounter & | counter_ |
Definition at line 36 of file OfferStream.h.
| ripple::TOfferStreamBase< TIn, TOut >::TOfferStreamBase | ( | ApplyView & | view, |
| ApplyView & | cancelView, | ||
| Book const & | book, | ||
| NetClock::time_point | when, | ||
| StepCounter & | counter, | ||
| beast::Journal | journal | ||
| ) |
Definition at line 38 of file OfferStream.cpp.
|
virtualdefault |
|
protected |
Definition at line 61 of file OfferStream.cpp.
|
protectedpure virtual |
Implemented in ripple::FlowOfferStream< TIn, TOut >, and ripple::OfferStream.
|
protected |
Definition at line 139 of file OfferStream.cpp.
| TOffer<TIn, TOut>& ripple::TOfferStreamBase< TIn, TOut >::tip | ( | ) | const |
Returns the offer at the tip of the order book.
Offers are always presented in decreasing quality. Only valid if step() returned true.
Definition at line 108 of file OfferStream.h.
| bool ripple::TOfferStreamBase< TIn, TOut >::step |
Advance to the next valid offer.
This automatically removes:
true if there is a valid offer. Definition at line 205 of file OfferStream.cpp.
| TOut ripple::TOfferStreamBase< TIn, TOut >::ownerFunds | ( | ) | const |
Definition at line 124 of file OfferStream.h.
|
protected |
Definition at line 71 of file OfferStream.h.
|
protected |
Definition at line 72 of file OfferStream.h.
|
protected |
Definition at line 73 of file OfferStream.h.
|
protected |
Definition at line 74 of file OfferStream.h.
|
protected |
Definition at line 75 of file OfferStream.h.
|
protected |
Definition at line 76 of file OfferStream.h.
|
protected |
Definition at line 77 of file OfferStream.h.
|
protected |
Definition at line 78 of file OfferStream.h.
|
protected |
Definition at line 79 of file OfferStream.h.
|
protected |
Definition at line 80 of file OfferStream.h.
1.8.17