KiCad PCB EDA Suite
Loading...
Searching...
No Matches
api_pcb_utils.h File Reference
#include <memory>
#include <core/typeinfo.h>
#include <import_export.h>
#include <layer_ids.h>
#include <api/common/types/base_types.pb.h>
#include <api/board/board_types.pb.h>

Go to the source code of this file.

Namespaces

namespace  kiapi
 
namespace  kiapi::board
 

Functions

std::unique_ptr< BOARD_ITEMCreateItemForType (KICAD_T aType, BOARD_ITEM_CONTAINER *aContainer)
 
void kiapi::board::PackLayerSet (google::protobuf::RepeatedField< int > &aOutput, const LSET &aLayerSet)
 
LSET kiapi::board::UnpackLayerSet (const google::protobuf::RepeatedField< int > &aProtoLayerSet)
 

Function Documentation

◆ CreateItemForType()

std::unique_ptr< BOARD_ITEM > CreateItemForType ( KICAD_T  aType,
BOARD_ITEM_CONTAINER aContainer 
)