Horizon
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
horizon::Padstack Class Reference
Inheritance diagram for horizon::Padstack:
horizon::LayerProvider

Classes

class  MyParameterProgram
 

Public Types

enum class  Type {
  TOP , BOTTOM , THROUGH , VIA ,
  HOLE , MECHANICAL
}
 

Public Member Functions

 Padstack (const UUID &uu, const json &j)
 
 Padstack (const UUID &uu)
 
json serialize () const
 
 Padstack (const Padstack &ps)
 
void operator= (Padstack const &ps)
 
std::optional< std::string > apply_parameter_set (const ParameterSet &ps)
 
UUID get_uuid () const
 
std::pair< Coordi, Coordiget_bbox (bool copper_only=false) const
 
void expand_inner (unsigned int n_inner, const class LayerRange &span)
 
const std::map< int, Layer > & get_layers () const override
 
- Public Member Functions inherited from horizon::LayerProvider
std::string get_layer_name (const class LayerRange &layer) const
 
std::set< int > get_layers_for_range (const class LayerRange &layer) const
 

Static Public Member Functions

static Padstack new_from_file (const std::string &filename)
 
static unsigned int get_app_version ()
 

Public Attributes

UUID uuid
 
std::string name
 
std::string well_known_name
 
Type type = Type::TOP
 
std::map< UUID, Polygonpolygons
 
std::map< UUID, Holeholes
 
std::map< UUID, Shapeshapes
 
ParameterSet parameter_set
 
std::set< ParameterID > parameters_required
 
MyParameterProgram parameter_program
 
FileVersion version
 

Static Public Attributes

static const LutEnumStr< Padstack::Type > type_lut
 

Member Function Documentation

◆ get_layers()

const std::map< int, Layer > & horizon::Padstack::get_layers ( ) const
overridevirtual

Reimplemented from horizon::LayerProvider.

Member Data Documentation

◆ type_lut

const LutEnumStr< Padstack::Type > horizon::Padstack::type_lut
static
Initial value:
= {
{"top", Padstack::Type::TOP}, {"bottom", Padstack::Type::BOTTOM}, {"through", Padstack::Type::THROUGH},
{"via", Padstack::Type::VIA}, {"hole", Padstack::Type::HOLE}, {"mechanical", Padstack::Type::MECHANICAL}}

The documentation for this class was generated from the following files: