Kea 2.7.0
isc::dhcp::AllocEngine::ResourceCompare Struct Reference

Resource compare class. More...

#include <alloc_engine.h>

Public Member Functions

bool operator() (const Resource &lhr, const Resource &rhr) const
 Compare operator.

Detailed Description

Resource compare class.

Needed for using sets of Resource objects.

Definition at line 167 of file alloc_engine.h.

Member Function Documentation

◆ operator()()

bool isc::dhcp::AllocEngine::ResourceCompare::operator() ( const Resource & lhr,
const Resource & rhr ) const

Compare operator.

Only the address/prefix part of resources is used.
lhrLeft hand resource object
rhrRight hand resource object
true if lhr is less than rhr, false otherwise

Definition at line 175 of file alloc_engine.h.

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