Public Member Functions | List of all members
duplicate_comparator Struct Reference

Public Member Functions

bool operator() (const xpath_node &lhs, const xpath_node &rhs) const
 

Detailed Description

Definition at line 6745 of file pugixml.cpp.

Member Function Documentation

◆ operator()()

bool duplicate_comparator::operator() ( const xpath_node &  lhs,
const xpath_node &  rhs 
) const
inline

Definition at line 6747 of file pugixml.cpp.

6748  {
6749  if (lhs.attribute()) return rhs.attribute() ? lhs.attribute() < rhs.attribute() : true;
6750  else return rhs.attribute() ? false : lhs.node() < rhs.node();
6751  }

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

Generated on Wed Apr 29 2020 19:41:30 for QuickFIX by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2001