KiCad PCB EDA Suite
Loading...
Searching...
No Matches
kiapi::board Namespace Reference

Namespaces

namespace  types
 

Functions

void PackLayerSet (google::protobuf::RepeatedField< int > &aOutput, const LSET &aLayerSet)
 
LSET UnpackLayerSet (const google::protobuf::RepeatedField< int > &aProtoLayerSet)
 

Function Documentation

◆ PackLayerSet()

void kiapi::board::PackLayerSet ( google::protobuf::RepeatedField< int > &  aOutput,
const LSET aLayerSet 
)

Definition at line 79 of file api_pcb_utils.cpp.

References LSET::Seq().

Referenced by PADSTACK::Serialize(), PCB_VIA::Serialize(), and ZONE::Serialize().

◆ UnpackLayerSet()

LSET kiapi::board::UnpackLayerSet ( const google::protobuf::RepeatedField< int > &  aProtoLayerSet)

Definition at line 86 of file api_pcb_utils.cpp.

References F_Cu, PCB_LAYER_ID_COUNT, and BASE_SET::set().

Referenced by PADSTACK::Deserialize(), and ZONE::Deserialize().