Horizon
Public Types | Public Member Functions | Public Attributes | List of all members
horizon::SchematicSymbol Class Reference

Public Types

enum class  PinDisplayMode { SELECTED_ONLY , BOTH , ALL , CUSTOM_ONLY }
 

Public Member Functions

 SchematicSymbol (const UUID &uu, const json &, class IPool &pool, Block *block=nullptr)
 
 SchematicSymbol (const UUID &uu, const Symbol *sym)
 
void apply_expand ()
 
void apply_pin_names ()
 
std::string replace_text (const std::string &t, bool *replaced, const class Schematic &sch, const class BlockInstanceMapping *inst_map=nullptr) const
 
std::string get_custom_value () const
 
UUID get_uuid () const
 
json serialize () const
 

Public Attributes

UUID uuid
 
const Symbolpool_symbol
 
Symbol symbol
 
uuid_ptr< Componentcomponent
 
uuid_ptr< const Gategate
 
Placement placement
 
std::vector< uuid_ptr< Text > > texts
 
bool smashed = false
 
PinDisplayMode pin_display_mode = PinDisplayMode::SELECTED_ONLY
 
bool display_directions = false
 
bool display_all_pads = true
 
unsigned int expand = 0
 
std::string custom_value
 

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