KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SNAP_STABLE_ID Struct Reference

#include <snap_resolver.h>

Public Member Functions

bool operator== (const SNAP_STABLE_ID &aOther) const =default
 
bool operator< (const SNAP_STABLE_ID &aOther) const
 

Public Attributes

SNAP_ID_KIND kind = SNAP_ID_KIND::ITEM_GEOMETRY
 
SNAP_TARGET_ID target {}
 
int featureIndex = 0
 
int solutionBranch = 0
 

Detailed Description

Definition at line 146 of file snap_resolver.h.

Member Function Documentation

◆ operator<()

bool SNAP_STABLE_ID::operator< ( const SNAP_STABLE_ID & aOther) const

Definition at line 446 of file snap_resolver.cpp.

References featureIndex, kind, solutionBranch, and target.

◆ operator==()

bool SNAP_STABLE_ID::operator== ( const SNAP_STABLE_ID & aOther) const
default

Member Data Documentation

◆ featureIndex

int SNAP_STABLE_ID::featureIndex = 0

Definition at line 150 of file snap_resolver.h.

Referenced by BOOST_AUTO_TEST_CASE(), and operator<().

◆ kind

SNAP_ID_KIND SNAP_STABLE_ID::kind = SNAP_ID_KIND::ITEM_GEOMETRY

Definition at line 148 of file snap_resolver.h.

Referenced by BOOST_AUTO_TEST_CASE(), and operator<().

◆ solutionBranch

int SNAP_STABLE_ID::solutionBranch = 0

◆ target


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