rippled
Classes | Public Member Functions | Protected Types | Static Protected Member Functions | List of all members
ripple::PeerFinder::detail::LivecacheBase Class Reference

Classes

struct  Element
 
class  Hop
 A list of Endpoint at the same hops This is a lightweight wrapper around a reference to the underlying container. More...
 

Public Member Functions

 LivecacheBase ()=default
 

Protected Types

using list_type = boost::intrusive::make_list< Element, boost::intrusive::constant_time_size< false > >::type
 

Static Protected Member Functions

template<bool IsConst>
static Hop< IsConst > make_hop (typename beast::maybe_const< IsConst, list_type >::type &list)
 

Detailed Description

Definition at line 43 of file Livecache.h.

Member Typedef Documentation

◆ list_type

using ripple::PeerFinder::detail::LivecacheBase::list_type = boost::intrusive:: make_list<Element, boost::intrusive::constant_time_size<false> >::type
protected

Definition at line 59 of file Livecache.h.

Constructor & Destructor Documentation

◆ LivecacheBase()

ripple::PeerFinder::detail::LivecacheBase::LivecacheBase ( )
explicitdefault

Member Function Documentation

◆ make_hop()

template<bool IsConst>
static Hop<IsConst> ripple::PeerFinder::detail::LivecacheBase::make_hop ( typename beast::maybe_const< IsConst, list_type >::type &  list)
staticprotected

Definition at line 172 of file Livecache.h.