proxygen
proxygen::HTTP2PriorityQueue::Node::IdNodeEqual Struct Reference

#include <HTTP2PriorityQueue.h>

Public Member Functions

bool operator() (const HTTPCodec::StreamID &id, const Node &node)
 
bool operator() (const Node &node, const HTTPCodec::StreamID &id)
 

Detailed Description

Definition at line 209 of file HTTP2PriorityQueue.h.

Member Function Documentation

bool proxygen::HTTP2PriorityQueue::Node::IdNodeEqual::operator() ( const HTTPCodec::StreamID id,
const Node node 
)
inline

Definition at line 210 of file HTTP2PriorityQueue.h.

References proxygen::HTTP2PriorityQueue::Node::id_.

210  {
211  return id == node.id_;
212  }
bool proxygen::HTTP2PriorityQueue::Node::IdNodeEqual::operator() ( const Node node,
const HTTPCodec::StreamID id 
)
inline

Definition at line 213 of file HTTP2PriorityQueue.h.

References proxygen::HTTP2PriorityQueue::Node::id_.

213  {
214  return node.id_ == id;
215  }

The documentation for this struct was generated from the following file: