59 auto it =
m_map.find( aNetCode );
62 return it !=
m_map.end() ? it->second : aNetCode;
65 const std::vector<NETINFO_ITEM*>&
Nets()
const {
return m_nets; }
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
Information pertinent to a Pcbnew printed circuit board.
A mix-in class (via multiple inheritance) that handles texts such as labels, parts,...
LSET is a set of PCB_LAYER_IDs.
Handle the data for a net.
The 9.0 format writes net declarations with consecutive codes.
void SetBoard(const BOARD *aBoard)
const std::vector< NETINFO_ITEM * > & Nets() const
std::map< int, int > m_map
int Translate(int aNetCode) const
std::vector< NETINFO_ITEM * > m_nets
A PADSTACK defines the characteristics of a single or multi-layer pad, in the IPC sense of the word.
A set of BOARD_ITEMs (i.e., without duplicates).
Object to handle a bitmap image that can be inserted in a PCB.
void formatHeader(const BOARD *aBoard) const
static constexpr int FORMAT_VERSION
void formatRenderCache(const EDA_TEXT *aText) const
void formatTenting(const PADSTACK &aPadstack) const
void Format(const BOARD_ITEM *aItem) const
void SaveFootprintFile(const wxString &aFileName, FOOTPRINT *aFootprint)
void formatLayer(PCB_LAYER_ID aLayer, bool aIsKnockout=false) const
void formatSetup(const BOARD *aBoard) const
void formatTeardropParameters(const TEARDROP_PARAMETERS &tdParams) const
void formatBoardLayers(const BOARD *aBoard) const
void formatProperties(const BOARD *aBoard) const
void SaveBoard(const wxString &aFileName, BOARD *aBoard)
void formatLayers(LSET aLayerMask, bool aEnumerateLayers) const
void formatNetInformation(const BOARD *aBoard) const
void format(const BOARD *aBoard) const
void formatPolyPts(const SHAPE_LINE_CHAIN &aOutline, const FOOTPRINT *aParentFP=nullptr) const
void formatGeneral(const BOARD *aBoard) const
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
TEARDROP_PARAMETARS is a helper class to handle parameters needed to build teardrops for a board thes...
Handle a list of polygons defining a copper zone.
PCB_LAYER_ID
A quick note on layer IDs: