Horizon
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
horizon::BoardPackage Class Reference

Public Member Functions

 BoardPackage (const UUID &uu, const json &, Block &block, class IPool &pool)
 
 BoardPackage (const UUID &uu, Component *comp)
 
 BoardPackage (const UUID &uu)
 
 BoardPackage (shallow_copy_t sh, const BoardPackage &other)
 
bool update_package (const class Board &brd)
 
void update_texts (const class Board &brd)
 
void update_nets ()
 
void update (const class Board &brd)
 
std::set< UUIDget_nets () const
 
std::pair< Coordi, Coordiget_bbox () const
 
std::string replace_text (const std::string &t, bool *replaced=nullptr) const
 
UUID get_uuid () const
 
json serialize () const
 

Static Public Member Functions

static std::vector< UUIDpeek_texts (const json &j)
 

Public Attributes

UUID uuid
 
uuid_ptr< Componentcomponent
 
std::shared_ptr< const Packagealternate_package
 
UUID model
 
std::shared_ptr< const Packagepool_package
 
Package package
 
Placement placement
 
bool flip = false
 
bool smashed = false
 
bool omit_silkscreen = false
 
bool fixed = false
 
bool omit_outline = false
 
std::vector< uuid_ptr< Text > > texts
 

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