KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ipc2581_function_mode.h File Reference
#include <bitset>
#include <initializer_list>
#include <optional>
#include <vector>
#include <exporters/fab_model/fab_sections.h>
#include <layer_ids.h>
#include <wx/string.h>

Go to the source code of this file.

Classes

class  IPC2581::SUPPRESS_SET
 Set of removed attributes. More...
 
struct  IPC2581::CONFLICT
 A requested combination that no legal file can hold. More...
 
struct  IPC2581::RESOLVE_RESULT
 

Namespaces

namespace  IPC2581
 

Enumerations

enum class  IPC2581::REVISION { IPC2581::B , IPC2581::C }
 Schema revision The two revisions declare different identity constraints. More...
 
enum class  IPC2581::SUPPRESS {
  IPC2581::COMPONENT_REFDES , IPC2581::COMPONENT_PACKAGEREF , IPC2581::PINREF_COMPONENTREF , IPC2581::PAD_PADSTACKDEFREF ,
  IPC2581::BOM_REFDES , IPC2581::BOM_REFDES_LAYERREF , IPC2581::BOM_REFDES_PACKAGEREF , IPC2581::BOM_HEADER_STEPREF ,
  IPC2581::COUNT
}
 Optional attributes to remove when their schema section is absent. More...
 

Functions

bool IPC2581::ModeSupported (MODE aMode, REVISION aRevision)
 True if KiCad can write aMode for aRevision.
 
std::optional< SECTION > IPC2581::SectionForBoardLayer (PCB_LAYER_ID aLayer)
 Schema section that holds the artwork of aLayer.
 
std::optional< SECTION > IPC2581::SectionForLayerFunction (const wxString &aLayerFunction, const wxString &aSide=wxEmptyString)
 Schema section that holds the layers with aLayerFunction.
 
RESOLVE_RESULT IPC2581::ResolveSections (REVISION aRevision, MODE aMode, const SECTION_SET &aRequested)
 Compare aRequested with Table 4 and give the attributes to remove and the conflicts.