rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ripple::detail::RawStateTable::sles_iter_impl Class Referenceabstract
Inheritance diagram for ripple::detail::RawStateTable::sles_iter_impl:
Inheritance graph
[legend]
Collaboration diagram for ripple::detail::RawStateTable::sles_iter_impl:
Collaboration graph
[legend]

Public Types

using base_type = ReadViewFwdIter
 
using value_type = ValueType
 

Public Member Functions

 sles_iter_impl (sles_iter_impl const &)=default
 
 sles_iter_impl (items_t::const_iterator iter1, items_t::const_iterator end1, ReadView::sles_type::iterator iter0, ReadView::sles_type::iterator end0)
 
std::unique_ptr< base_typecopy () const override
 
bool equal (base_type const &impl) const override
 
void increment () override
 
value_type dereference () const override
 
virtual bool equal (ReadViewFwdIter const &impl) const =0
 

Private Member Functions

void inc0 ()
 
void inc1 ()
 
void skip ()
 

Private Attributes

std::shared_ptr< SLE const > sle0_
 
ReadView::sles_type::iterator iter0_
 
ReadView::sles_type::iterator end0_
 
std::shared_ptr< SLE const > sle1_
 
items_t::const_iterator iter1_
 
items_t::const_iterator end1_
 

Detailed Description

Definition at line 7 of file RawStateTable.cpp.

Member Typedef Documentation

◆ base_type

template<class ValueType >
using ripple::detail::ReadViewFwdIter< ValueType >::base_type = ReadViewFwdIter
inherited

Definition at line 20 of file ReadViewFwdRange.h.

◆ value_type

template<class ValueType >
using ripple::detail::ReadViewFwdIter< ValueType >::value_type = ValueType
inherited

Definition at line 22 of file ReadViewFwdRange.h.

Constructor & Destructor Documentation

◆ sles_iter_impl() [1/2]

ripple::detail::RawStateTable::sles_iter_impl::sles_iter_impl ( sles_iter_impl const &  )
default

◆ sles_iter_impl() [2/2]

ripple::detail::RawStateTable::sles_iter_impl::sles_iter_impl ( items_t::const_iterator  iter1,
items_t::const_iterator  end1,
ReadView::sles_type::iterator  iter0,
ReadView::sles_type::iterator  end0 
)

Definition at line 20 of file RawStateTable.cpp.

Member Function Documentation

◆ copy()

std::unique_ptr< base_type > ripple::detail::RawStateTable::sles_iter_impl::copy ( ) const
overridevirtual

Implements ripple::detail::ReadViewFwdIter< ValueType >.

Definition at line 37 of file RawStateTable.cpp.

◆ equal() [1/2]

bool ripple::detail::RawStateTable::sles_iter_impl::equal ( base_type const &  impl) const
override

Definition at line 43 of file RawStateTable.cpp.

◆ increment()

void ripple::detail::RawStateTable::sles_iter_impl::increment ( )
overridevirtual

Implements ripple::detail::ReadViewFwdIter< ValueType >.

Definition at line 58 of file RawStateTable.cpp.

◆ dereference()

value_type ripple::detail::RawStateTable::sles_iter_impl::dereference ( ) const
overridevirtual

Implements ripple::detail::ReadViewFwdIter< ValueType >.

Definition at line 94 of file RawStateTable.cpp.

◆ inc0()

void ripple::detail::RawStateTable::sles_iter_impl::inc0 ( )
private

Definition at line 107 of file RawStateTable.cpp.

◆ inc1()

void ripple::detail::RawStateTable::sles_iter_impl::inc1 ( )
private

Definition at line 117 of file RawStateTable.cpp.

◆ skip()

void ripple::detail::RawStateTable::sles_iter_impl::skip ( )
private

Definition at line 127 of file RawStateTable.cpp.

◆ equal() [2/2]

template<class ValueType >
virtual bool ripple::detail::ReadViewFwdIter< ValueType >::equal ( ReadViewFwdIter< ValueType > const &  impl) const
pure virtualinherited

Member Data Documentation

◆ sle0_

std::shared_ptr<SLE const> ripple::detail::RawStateTable::sles_iter_impl::sle0_
private

Definition at line 10 of file RawStateTable.cpp.

◆ iter0_

ReadView::sles_type::iterator ripple::detail::RawStateTable::sles_iter_impl::iter0_
private

Definition at line 11 of file RawStateTable.cpp.

◆ end0_

ReadView::sles_type::iterator ripple::detail::RawStateTable::sles_iter_impl::end0_
private

Definition at line 12 of file RawStateTable.cpp.

◆ sle1_

std::shared_ptr<SLE const> ripple::detail::RawStateTable::sles_iter_impl::sle1_
private

Definition at line 13 of file RawStateTable.cpp.

◆ iter1_

items_t::const_iterator ripple::detail::RawStateTable::sles_iter_impl::iter1_
private

Definition at line 14 of file RawStateTable.cpp.

◆ end1_

items_t::const_iterator ripple::detail::RawStateTable::sles_iter_impl::end1_
private

Definition at line 15 of file RawStateTable.cpp.