rippled
Public Member Functions | Public Attributes | List of all members
ripple::peer_in_set Struct Reference

Select all peers that are in the specified set. More...

Collaboration diagram for ripple::peer_in_set:
Collaboration graph
[legend]

Public Member Functions

 peer_in_set (std::set< Peer::id_t > const &peers)
 
bool operator() (std::shared_ptr< Peer > const &peer) const
 

Public Attributes

std::set< Peer::id_t > const & peerSet
 

Detailed Description

Select all peers that are in the specified set.

Definition at line 160 of file predicates.h.

Constructor & Destructor Documentation

◆ peer_in_set()

ripple::peer_in_set::peer_in_set ( std::set< Peer::id_t > const &  peers)

Definition at line 164 of file predicates.h.

Member Function Documentation

◆ operator()()

bool ripple::peer_in_set::operator() ( std::shared_ptr< Peer > const &  peer) const

Definition at line 169 of file predicates.h.

Member Data Documentation

◆ peerSet

std::set<Peer::id_t> const& ripple::peer_in_set::peerSet

Definition at line 162 of file predicates.h.