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

Select the specific peer. More...

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

Public Member Functions

 match_peer (Peer const *match=nullptr)
 
bool operator() (std::shared_ptr< Peer > const &peer) const
 

Public Attributes

Peer const * matchPeer
 

Detailed Description

Select the specific peer.

Definition at line 115 of file predicates.h.

Constructor & Destructor Documentation

◆ match_peer()

ripple::match_peer::match_peer ( Peer const *  match = nullptr)

Definition at line 119 of file predicates.h.

Member Function Documentation

◆ operator()()

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

Definition at line 124 of file predicates.h.

Member Data Documentation

◆ matchPeer

Peer const* ripple::match_peer::matchPeer

Definition at line 117 of file predicates.h.