KiCad PCB EDA Suite
Loading...
Searching...
No Matches
erc_exclusion.cpp File Reference
#include <json_common.h>
#include <cstdlib>
#include <api/api_enums.h>
#include <api/api_utils.h>
#include <base_units.h>
#include <erc/erc_item.h>
#include <wx/arrstr.h>
#include <erc/erc_exclusion.h>
#include <erc/erc_settings.h>
#include <sch_marker.h>
#include <sch_sheet_path.h>
#include <api/schematic/schematic_rules.pb.h>
#include <google/protobuf/any.h>
#include <google/protobuf/util/json_util.h>

Go to the source code of this file.

Classes

struct  ERC_EXCLUSION::IMPL
 

Functions

static void canonicalizeExclusion (kiapi::schematic::ErcExclusion &aMessage)
 
void to_json (nlohmann::json &aJson, const ERC_EXCLUSION &aEx)
 
void from_json (const nlohmann::json &aJson, ERC_EXCLUSION &aEx)
 

Function Documentation

◆ canonicalizeExclusion()

static void canonicalizeExclusion ( kiapi::schematic::ErcExclusion & aMessage)
static

◆ from_json()

void from_json ( const nlohmann::json & aJson,
ERC_EXCLUSION & aEx )

Definition at line 195 of file erc_exclusion.cpp.

◆ to_json()

void to_json ( nlohmann::json & aJson,
const ERC_EXCLUSION & aEx )

Definition at line 176 of file erc_exclusion.cpp.