KiCad PCB EDA Suite
PTR_PTR_LAYER_CACHE_KEY Struct Reference

#include <board.h>

Public Member Functions

bool operator== (const PTR_PTR_LAYER_CACHE_KEY &other) const
 

Public Attributes

BOARD_ITEMA
 
BOARD_ITEMB
 
PCB_LAYER_ID Layer
 

Detailed Description

Definition at line 90 of file board.h.

Member Function Documentation

◆ operator==()

bool PTR_PTR_LAYER_CACHE_KEY::operator== ( const PTR_PTR_LAYER_CACHE_KEY other) const
inline

Definition at line 96 of file board.h.

97 {
98 return A == other.A && B == other.B && Layer == other.Layer;
99 }
BOARD_ITEM * B
Definition: board.h:93
BOARD_ITEM * A
Definition: board.h:92
PCB_LAYER_ID Layer
Definition: board.h:94

References A, B, and Layer.

Member Data Documentation

◆ A

BOARD_ITEM* PTR_PTR_LAYER_CACHE_KEY::A

Definition at line 92 of file board.h.

Referenced by std::hash< PTR_PTR_LAYER_CACHE_KEY >::operator()(), and operator==().

◆ B

BOARD_ITEM* PTR_PTR_LAYER_CACHE_KEY::B

Definition at line 93 of file board.h.

Referenced by std::hash< PTR_PTR_LAYER_CACHE_KEY >::operator()(), and operator==().

◆ Layer

PCB_LAYER_ID PTR_PTR_LAYER_CACHE_KEY::Layer

Definition at line 94 of file board.h.

Referenced by std::hash< PTR_PTR_LAYER_CACHE_KEY >::operator()(), and operator==().


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