KiCad PCB EDA Suite
FABMASTER::GRAPHIC_ITEM::SEQ_CMP Struct Reference

#include <import_fabmaster.h>

Public Member Functions

bool operator() (const std::unique_ptr< GRAPHIC_ITEM > &lhs, const std::unique_ptr< GRAPHIC_ITEM > &rhs) const
 

Detailed Description

Definition at line 222 of file import_fabmaster.h.

Member Function Documentation

◆ operator()()

bool FABMASTER::GRAPHIC_ITEM::SEQ_CMP::operator() ( const std::unique_ptr< GRAPHIC_ITEM > &  lhs,
const std::unique_ptr< GRAPHIC_ITEM > &  rhs 
) const
inline

Definition at line 224 of file import_fabmaster.h.

226  {
227  if( lhs->refdes != rhs->refdes )
228  return lhs->refdes < rhs->refdes;
229 
230  if( lhs->layer != rhs->layer )
231  return lhs->layer < rhs->layer;
232 
233  return lhs->seq < rhs->seq;
234  }

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