KiCad PCB EDA Suite
DRILL_PRECISION Class Reference

#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

Definition at line 95 of file gendrill_file_writer_base.h.

Constructor & Destructor Documentation

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

Definition at line 102 of file gendrill_file_writer_base.h.

103  {
104  m_lhs = l; m_rhs = r;
105  }

Member Function Documentation

wxString DRILL_PRECISION::GetPrecisionString ( )
inline

Definition at line 108 of file gendrill_file_writer_base.h.

References m_rhs.

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

109  {
110  wxString text;
111 
112  text << m_lhs << wxT( ":" ) << m_rhs;
113  return text;
114  }

Member Data Documentation


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