KiCad PCB EDA Suite
Loading...
Searching...
No Matches
bom_settings.cpp File Reference
#include <settings/bom_settings.h>
#include <nlohmann/json.hpp>
#include <core/json_serializers.h>
#include <wx/translation.h>

Go to the source code of this file.

Functions

bool operator!= (const BOM_FIELD &lhs, const BOM_FIELD &rhs)
 
bool operator< (const BOM_FIELD &lhs, const BOM_FIELD &rhs)
 
void to_json (nlohmann::json &j, const BOM_FIELD &f)
 
void from_json (const nlohmann::json &j, BOM_FIELD &f)
 
bool operator!= (const BOM_PRESET &lhs, const BOM_PRESET &rhs)
 
bool operator< (const BOM_PRESET &lhs, const BOM_PRESET &rhs)
 
void to_json (nlohmann::json &j, const BOM_PRESET &p)
 
void from_json (const nlohmann::json &j, BOM_PRESET &f)
 
bool operator!= (const BOM_FMT_PRESET &lhs, const BOM_FMT_PRESET &rhs)
 
bool operator< (const BOM_FMT_PRESET &lhs, const BOM_FMT_PRESET &rhs)
 
void to_json (nlohmann::json &j, const BOM_FMT_PRESET &p)
 
void from_json (const nlohmann::json &j, BOM_FMT_PRESET &f)
 

Variables

template class KICOMMON_API PARAM_LIST< BOM_PRESET >
 
template class KICOMMON_API PARAM_LIST< BOM_FMT_PRESET >
 

Function Documentation

◆ from_json() [1/3]

void from_json ( const nlohmann::json &  j,
BOM_FIELD f 
)

◆ from_json() [2/3]

◆ from_json() [3/3]

◆ operator!=() [1/3]

bool operator!= ( const BOM_FIELD lhs,
const BOM_FIELD rhs 
)

Definition at line 35 of file bom_settings.cpp.

Referenced by unfracture(), and SHAPE_POLY_SET::unfractureSingle().

◆ operator!=() [2/3]

bool operator!= ( const BOM_FMT_PRESET lhs,
const BOM_FMT_PRESET rhs 
)

Definition at line 217 of file bom_settings.cpp.

◆ operator!=() [3/3]

bool operator!= ( const BOM_PRESET lhs,
const BOM_PRESET rhs 
)

Definition at line 64 of file bom_settings.cpp.

◆ operator<() [1/3]

bool operator< ( const BOM_FIELD lhs,
const BOM_FIELD rhs 
)

Definition at line 41 of file bom_settings.cpp.

References BOM_FIELD::name.

◆ operator<() [2/3]

bool operator< ( const BOM_FMT_PRESET lhs,
const BOM_FMT_PRESET rhs 
)

Definition at line 223 of file bom_settings.cpp.

References BOM_FMT_PRESET::name.

◆ operator<() [3/3]

bool operator< ( const BOM_PRESET lhs,
const BOM_PRESET rhs 
)

Definition at line 70 of file bom_settings.cpp.

References BOM_PRESET::name.

◆ to_json() [1/3]

void to_json ( nlohmann::json &  j,
const BOM_FIELD f 
)

◆ to_json() [2/3]

◆ to_json() [3/3]

Variable Documentation

◆ PARAM_LIST< BOM_FMT_PRESET >

Definition at line 277 of file bom_settings.cpp.

◆ PARAM_LIST< BOM_PRESET >

template class KICOMMON_API PARAM_LIST< BOM_PRESET >

Definition at line 276 of file bom_settings.cpp.