rippled
|
Public Member Functions | |
ElementComboIter (STPathElement const *prev=nullptr) | |
bool | valid () const |
bool | next () |
template<class Col , class AccFactory , class IssFactory , class CurrencyFactory > | |
void | emplace_into (Col &col, AccFactory &&accF, IssFactory &&issF, CurrencyFactory &¤cyF, std::optional< AccountID > const &existingAcc, std::optional< Currency > const &existingCur, std::optional< AccountID > const &existingIss) |
Private Types | |
enum | SB : std::uint16_t { SB::acc, SB::iss, SB::cur, SB::rootAcc, SB::rootIss, SB::xrp, SB::sameAccIss, SB::existingAcc, SB::existingCur, SB::existingIss, SB::prevAcc, SB::prevCur, SB::prevIss, SB::boundary, SB::last } |
Private Member Functions | |
bool | has (SB s) const |
bool | hasAny (std::initializer_list< SB > sb) const |
size_t | count (std::initializer_list< SB > sb) const |
Private Attributes | |
std::uint16_t | state_ = 0 |
STPathElement const * | prev_ = nullptr |
const bool | allowCompound_ = false |
Definition at line 185 of file PayStrand_test.cpp.
|
strongprivate |
Enumerator | |
---|---|
acc | |
iss | |
cur | |
rootAcc | |
rootIss | |
xrp | |
sameAccIss | |
existingAcc | |
existingCur | |
existingIss | |
prevAcc | |
prevCur | |
prevIss | |
boundary | |
last |
Definition at line 187 of file PayStrand_test.cpp.
|
explicit |
Definition at line 242 of file PayStrand_test.cpp.
|
private |
Definition at line 216 of file PayStrand_test.cpp.
|
private |
Definition at line 222 of file PayStrand_test.cpp.
|
private |
Definition at line 231 of file PayStrand_test.cpp.
bool ripple::test::ElementComboIter::valid | ( | ) | const |
Definition at line 247 of file PayStrand_test.cpp.
bool ripple::test::ElementComboIter::next | ( | ) |
Definition at line 266 of file PayStrand_test.cpp.
void ripple::test::ElementComboIter::emplace_into | ( | Col & | col, |
AccFactory && | accF, | ||
IssFactory && | issF, | ||
CurrencyFactory && | currencyF, | ||
std::optional< AccountID > const & | existingAcc, | ||
std::optional< Currency > const & | existingCur, | ||
std::optional< AccountID > const & | existingIss | ||
) |
Definition at line 284 of file PayStrand_test.cpp.
|
private |
Definition at line 206 of file PayStrand_test.cpp.
|
private |
Definition at line 210 of file PayStrand_test.cpp.
|
private |
Definition at line 213 of file PayStrand_test.cpp.