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

#include <drill_span.h>

Public Member Functions

 DRILL_SPAN ()
 
 DRILL_SPAN (PCB_LAYER_ID aStartLayer, PCB_LAYER_ID aEndLayer, bool aIsBackdrill, bool aIsNonPlated)
 
PCB_LAYER_ID TopLayer () const
 
PCB_LAYER_ID BottomLayer () const
 
PCB_LAYER_ID DrillStartLayer () const
 
PCB_LAYER_ID DrillEndLayer () const
 
DRILL_LAYER_PAIR Pair () const
 
bool operator== (const DRILL_SPAN &aOther) const
 
bool operator!= (const DRILL_SPAN &aOther) const
 
bool operator< (const DRILL_SPAN &aOther) const
 

Public Attributes

PCB_LAYER_ID m_StartLayer
 
PCB_LAYER_ID m_EndLayer
 
bool m_IsBackdrill
 
bool m_IsNonPlatedFile
 

Detailed Description

Definition at line 51 of file drill_span.h.

Constructor & Destructor Documentation

◆ DRILL_SPAN() [1/2]

DRILL_SPAN::DRILL_SPAN ( )
inline

Definition at line 53 of file drill_span.h.

References B_Cu, F_Cu, m_EndLayer, m_IsBackdrill, m_IsNonPlatedFile, and m_StartLayer.

Referenced by operator!=(), operator<(), and operator==().

◆ DRILL_SPAN() [2/2]

DRILL_SPAN::DRILL_SPAN ( PCB_LAYER_ID aStartLayer,
PCB_LAYER_ID aEndLayer,
bool aIsBackdrill,
bool aIsNonPlated )
inline

Definition at line 61 of file drill_span.h.

References m_EndLayer, m_IsBackdrill, m_IsNonPlatedFile, and m_StartLayer.

Member Function Documentation

◆ BottomLayer()

PCB_LAYER_ID DRILL_SPAN::BottomLayer ( ) const
inline

Definition at line 77 of file drill_span.h.

References IsCopperLayerLowerThan(), m_EndLayer, and m_StartLayer.

Referenced by EnumerateDrillOperations(), operator<(), and Pair().

◆ DrillEndLayer()

PCB_LAYER_ID DRILL_SPAN::DrillEndLayer ( ) const
inline

◆ DrillStartLayer()

PCB_LAYER_ID DRILL_SPAN::DrillStartLayer ( ) const
inline

◆ operator!=()

bool DRILL_SPAN::operator!= ( const DRILL_SPAN & aOther) const
inline

Definition at line 105 of file drill_span.h.

References DRILL_SPAN().

◆ operator<()

bool DRILL_SPAN::operator< ( const DRILL_SPAN & aOther) const
inline

◆ operator==()

bool DRILL_SPAN::operator== ( const DRILL_SPAN & aOther) const
inline

Definition at line 97 of file drill_span.h.

References DRILL_SPAN(), m_EndLayer, m_IsBackdrill, m_IsNonPlatedFile, and m_StartLayer.

◆ Pair()

◆ TopLayer()

PCB_LAYER_ID DRILL_SPAN::TopLayer ( ) const
inline

Definition at line 70 of file drill_span.h.

References IsCopperLayerLowerThan(), m_EndLayer, and m_StartLayer.

Referenced by EnumerateDrillOperations(), operator<(), and Pair().

Member Data Documentation

◆ m_EndLayer

PCB_LAYER_ID DRILL_SPAN::m_EndLayer

◆ m_IsBackdrill

◆ m_IsNonPlatedFile

◆ m_StartLayer

PCB_LAYER_ID DRILL_SPAN::m_StartLayer

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