Public Member Functions | List of all members
WireCell::IWireCompareIdent Struct Reference

#include <IWire.h>

Public Member Functions

bool operator() (const IWire::pointer &lhs, const IWire::pointer &rhs) const
 

Detailed Description

Definition at line 58 of file IWire.h.

Member Function Documentation

bool WireCell::IWireCompareIdent::operator() ( const IWire::pointer lhs,
const IWire::pointer rhs 
) const
inline

Definition at line 59 of file IWire.h.

59  {
60  if (lhs->ident() == rhs->ident()) {
61  return lhs.get() < rhs.get(); // break tie with pointer
62  }
63  return lhs->ident() < rhs->ident();
64  }

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