KiCad PCB EDA Suite
DRILL_PRECISION Class Reference

Helper to handle drill precision format in excellon files. More...

#include <gendrill_file_writer_base.h>

Public Member Functions

 DRILL_PRECISION (int l=2, int r=4)
 
wxString GetPrecisionString ()
 

Public Attributes

int m_Lhs
 
int m_Rhs
 

Detailed Description

Helper to handle drill precision format in excellon files.

Definition at line 123 of file gendrill_file_writer_base.h.

Constructor & Destructor Documentation

◆ DRILL_PRECISION()

DRILL_PRECISION::DRILL_PRECISION ( int  l = 2,
int  r = 4 
)
inline

Definition at line 126 of file gendrill_file_writer_base.h.

127  {
128  m_Lhs = l; m_Rhs = r;
129  }
E_SERIE r
Definition: eserie.cpp:41

References m_Lhs, m_Rhs, and r.

Member Function Documentation

◆ GetPrecisionString()

wxString DRILL_PRECISION::GetPrecisionString ( )
inline

Definition at line 132 of file gendrill_file_writer_base.h.

133  {
134  wxString text;
135 
136  text << m_Lhs << wxT( ":" ) << m_Rhs;
137  return text;
138  }

References m_Lhs, m_Rhs, and text.

Referenced by DIALOG_GENDRILL::UpdatePrecisionOptions(), and EXCELLON_WRITER::writeEXCELLONHeader().

Member Data Documentation

◆ m_Lhs

◆ m_Rhs


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