KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_io_geda.cpp File Reference

Geda PCB file plugin implementation file. More...

#include <wildcards_and_files_ext.h>
#include <trace_helpers.h>
#include <math/util.h>
#include <board.h>
#include <font/fontconfig.h>
#include <footprint.h>
#include <pad.h>
#include <locale_io.h>
#include <macros.h>
#include <pcb_text.h>
#include <pcb_shape.h>
#include <pcb_io/geda/pcb_io_geda.h>
#include <reporter.h>
#include <wx_filename.h>
#include <wx/dir.h>
#include <wx/log.h>
#include <wx/filename.h>
#include <wx/wfstream.h>
#include <boost/ptr_container/ptr_map.hpp>
#include <filter_reader.h>

Go to the source code of this file.

Classes

class  GPCB_FPL_CACHE_ITEM
 helper class for creating a footprint library cache. More...
 
class  GPCB_FPL_CACHE
 

Macros

#define TEXT_DEFAULT_SIZE   ( 40*pcbIUScale.IU_PER_MILS )
 
#define OLD_GPCB_UNIT_CONV   pcbIUScale.IU_PER_MILS
 
#define NEW_GPCB_UNIT_CONV   ( 0.01*pcbIUScale.IU_PER_MILS )
 

Typedefs

typedef boost::ptr_map< std::string, GPCB_FPL_CACHE_ITEMFOOTPRINT_MAP
 

Functions

static long parseInt (const wxString &aValue, double aScalar)
 

Detailed Description

Geda PCB file plugin implementation file.

Geda PCB file plugin definition file.

Definition in file pcb_io_geda.cpp.

Macro Definition Documentation

◆ NEW_GPCB_UNIT_CONV

#define NEW_GPCB_UNIT_CONV   ( 0.01*pcbIUScale.IU_PER_MILS )

◆ OLD_GPCB_UNIT_CONV

#define OLD_GPCB_UNIT_CONV   pcbIUScale.IU_PER_MILS

◆ TEXT_DEFAULT_SIZE

#define TEXT_DEFAULT_SIZE   ( 40*pcbIUScale.IU_PER_MILS )

Typedef Documentation

◆ FOOTPRINT_MAP

typedef boost::ptr_map< std::string, GPCB_FPL_CACHE_ITEM > FOOTPRINT_MAP

Definition at line 131 of file pcb_io_geda.cpp.

Function Documentation

◆ parseInt()

static long parseInt ( const wxString &  aValue,
double  aScalar 
)
inlinestatic

Definition at line 54 of file pcb_io_geda.cpp.

References _, KiROUND(), and THROW_IO_ERROR.

Referenced by GPCB_FPL_CACHE::parseFOOTPRINT().