KiCad PCB EDA Suite
DRILL_PRECISION Class Reference

#include <gendrill_Excellon_writer.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 96 of file gendrill_Excellon_writer.h.

Constructor & Destructor Documentation

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

Definition at line 103 of file gendrill_Excellon_writer.h.

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

Member Function Documentation

wxString DRILL_PRECISION::GetPrecisionString ( )
inline

Definition at line 109 of file gendrill_Excellon_writer.h.

References m_rhs.

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

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

Member Data Documentation


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