xrpld
Loading...
Searching...
No Matches
xrpl::MatchPeer Struct Reference

Select the specific peer. More...

#include <predicates.h>

Collaboration diagram for xrpl::MatchPeer:

Public Member Functions

 MatchPeer (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 93 of file predicates.h.

Constructor & Destructor Documentation

◆ MatchPeer()

xrpl::MatchPeer::MatchPeer ( Peer const * match = nullptr)

Definition at line 97 of file predicates.h.

Member Function Documentation

◆ operator()()

bool xrpl::MatchPeer::operator() ( std::shared_ptr< Peer > const & peer) const

Definition at line 102 of file predicates.h.

Member Data Documentation

◆ matchPeer

Peer const* xrpl::MatchPeer::matchPeer

Definition at line 95 of file predicates.h.