Tkrzw
tkrzw::TreeLinkComparator Struct Referencefinal

Comparator for TreeLink objects. More...

#include <tkrzw_dbm_tree_impl.h>

Public Member Functions

 TreeLinkComparator (KeyComparator comp)
 Constructor.
 
bool operator() (const TreeLink *const &a, const TreeLink *const &b) const
 Comparing operator.
 

Public Attributes

KeyComparator comp
 The key comparator.
 

Detailed Description

Comparator for TreeLink objects.

Constructor & Destructor Documentation

◆ TreeLinkComparator()

tkrzw::TreeLinkComparator::TreeLinkComparator ( KeyComparator comp)
explicit

Constructor.

Member Function Documentation

◆ operator()()

bool tkrzw::TreeLinkComparator::operator() ( const TreeLink *const & a,
const TreeLink *const & b ) const

Comparing operator.

Member Data Documentation

◆ comp

KeyComparator tkrzw::TreeLinkComparator::comp

The key comparator.