Fabcoin Core  0.16.2
P2P Digital Currency
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
dev::RLP::iterator Class Reference

Iterator class for iterating through items of RLP list. More...

#include <RLP.h>

Collaboration diagram for dev::RLP::iterator:
[legend]

Public Types

using value_type = RLP
 
using element_type = RLP
 

Public Member Functions

iteratoroperator++ ()
 
iterator operator++ (int)
 
RLP operator* () const
 
bool operator== (iterator const &_cmp) const
 
bool operator!= (iterator const &_cmp) const
 

Private Member Functions

 iterator ()
 
 iterator (RLP const &_parent, bool _begin)
 

Private Attributes

size_t m_remaining = 0
 
bytesConstRef m_currentItem
 

Friends

class RLP
 

Detailed Description

Iterator class for iterating through items of RLP list.

Definition at line 147 of file RLP.h.

Member Typedef Documentation

Definition at line 153 of file RLP.h.

Definition at line 152 of file RLP.h.

Constructor & Destructor Documentation

dev::RLP::iterator::iterator ( )
inlineprivate

Definition at line 162 of file RLP.h.

RLP::iterator::iterator ( RLP const &  _parent,
bool  _begin 
)
private

Definition at line 61 of file RLP.cpp.

Here is the call graph for this function:

Member Function Documentation

bool dev::RLP::iterator::operator!= ( iterator const &  _cmp) const
inline

Definition at line 159 of file RLP.h.

Here is the call graph for this function:

RLP dev::RLP::iterator::operator* ( ) const
inline

Definition at line 157 of file RLP.h.

RLP::iterator & RLP::iterator::operator++ ( )

Definition at line 48 of file RLP.cpp.

Here is the call graph for this function:

iterator dev::RLP::iterator::operator++ ( int  )
inline

Definition at line 156 of file RLP.h.

Here is the call graph for this function:

Here is the caller graph for this function:

bool dev::RLP::iterator::operator== ( iterator const &  _cmp) const
inline

Definition at line 158 of file RLP.h.

Friends And Related Function Documentation

friend class RLP
friend

Definition at line 149 of file RLP.h.

Member Data Documentation

bytesConstRef dev::RLP::iterator::m_currentItem
private

Definition at line 166 of file RLP.h.

size_t dev::RLP::iterator::m_remaining = 0
private

Definition at line 165 of file RLP.h.


The documentation for this class was generated from the following files: