KiCad PCB EDA Suite
Loading...
Searching...
No Matches
bom_settings.h File Reference

Go to the source code of this file.

Classes

struct  BOM_FIELD
 
struct  BOM_FMT_PRESET
 
struct  FIELDS_TABLE_BOM_SETTINGS
 

Enumerations

enum class  BOM_FILTER_SCOPE { REFERENCE , VISIBLE , ALL }
 

Functions

KICOMMON_API bool operator!= (const BOM_FIELD &lhs, const BOM_FIELD &rhs)
 
KICOMMON_API bool operator< (const BOM_FIELD &lhs, const BOM_FIELD &rhs)
 
KICOMMON_API void to_json (nlohmann::json &j, const BOM_FIELD &f)
 
KICOMMON_API void from_json (const nlohmann::json &j, BOM_FIELD &f)
 
 NLOHMANN_JSON_SERIALIZE_ENUM (BOM_FILTER_SCOPE, { { BOM_FILTER_SCOPE::REFERENCE, "reference" }, { BOM_FILTER_SCOPE::VISIBLE, "visible" }, { BOM_FILTER_SCOPE::ALL, "all" }, }) struct KICOMMON_API BOM_PRESET
 
KICOMMON_API bool operator!= (const BOM_PRESET &lhs, const BOM_PRESET &rhs)
 
KICOMMON_API bool operator< (const BOM_PRESET &lhs, const BOM_PRESET &rhs)
 
KICOMMON_API void to_json (nlohmann::json &j, const BOM_PRESET &f)
 
KICOMMON_API void from_json (const nlohmann::json &j, BOM_PRESET &f)
 
KICOMMON_API bool operator!= (const BOM_FMT_PRESET &lhs, const BOM_FMT_PRESET &rhs)
 
KICOMMON_API bool operator< (const BOM_FMT_PRESET &lhs, const BOM_FMT_PRESET &rhs)
 
KICOMMON_API void to_json (nlohmann::json &j, const BOM_FMT_PRESET &f)
 
KICOMMON_API void from_json (const nlohmann::json &j, BOM_FMT_PRESET &f)
 

Variables

template class APIVISIBLE PARAM_LIST< BOM_PRESET >
 
template class APIVISIBLE PARAM_LIST< BOM_FMT_PRESET >
 

Enumeration Type Documentation

◆ BOM_FILTER_SCOPE

enum class BOM_FILTER_SCOPE
strong
Enumerator
REFERENCE 
VISIBLE 
ALL 

Definition at line 47 of file bom_settings.h.

Function Documentation

◆ from_json() [1/3]

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

◆ from_json() [2/3]

◆ from_json() [3/3]

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

Definition at line 94 of file bom_settings.cpp.

References REFERENCE.

◆ NLOHMANN_JSON_SERIALIZE_ENUM()

NLOHMANN_JSON_SERIALIZE_ENUM ( BOM_FILTER_SCOPE ,
{ { BOM_FILTER_SCOPE::REFERENCE, "reference" }, { BOM_FILTER_SCOPE::VISIBLE, "visible" }, { BOM_FILTER_SCOPE::ALL, "all" }, }  )

Definition at line 54 of file bom_settings.h.

References ALL, REFERENCE, and VISIBLE.

◆ operator!=() [1/3]

KICOMMON_API 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]

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

Definition at line 232 of file bom_settings.cpp.

◆ operator!=() [3/3]

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

Definition at line 64 of file bom_settings.cpp.

◆ operator<() [1/3]

KICOMMON_API 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]

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

Definition at line 238 of file bom_settings.cpp.

References BOM_FMT_PRESET::name.

◆ operator<() [3/3]

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

Definition at line 70 of file bom_settings.cpp.

◆ to_json() [1/3]

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

◆ to_json() [2/3]

◆ to_json() [3/3]

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

Definition at line 76 of file bom_settings.cpp.

Variable Documentation

◆ PARAM_LIST< BOM_FMT_PRESET >

template class APIVISIBLE PARAM_LIST< BOM_FMT_PRESET >
extern

Definition at line 299 of file bom_settings.cpp.

◆ PARAM_LIST< BOM_PRESET >

template class APIVISIBLE PARAM_LIST< BOM_PRESET >
extern

Definition at line 298 of file bom_settings.cpp.