Horizon
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
horizon::Symbol Class Reference
Inheritance diagram for horizon::Symbol:
horizon::ObjectProvider horizon::LayerProvider

Public Member Functions

 Symbol (const UUID &uu, const json &j, class Pool &pool)
 
 Symbol (const UUID &uu)
 
std::pair< Coordi, Coordi > get_bbox (bool all=false) const
 
virtual Junction * get_junction (const UUID &uu)
 
virtual SymbolPin * get_symbol_pin (const UUID &uu)
 
json serialize () const
 
void expand ()
 fills in information from the referenced unit
 
 Symbol (const Symbol &sym)
 
void operator= (Symbol const &sym)
 
void apply_placement (const Placement &p)
 
- Public Member Functions inherited from horizon::ObjectProvider
virtual class Polygon * get_polygon (const UUID &uu)
 
- Public Member Functions inherited from horizon::LayerProvider
virtual const std::map< int, Layer > & get_layers () const
 

Static Public Member Functions

static Symbol new_from_file (const std::string &filename, Pool &pool)
 

Public Attributes

UUID uuid
 
uuid_ptr< const Unit > unit
 
std::string name
 
std::map< UUID, SymbolPin > pins
 
std::map< UUID, Junction > junctions
 
std::map< UUID, Line > lines
 
std::map< UUID, Arc > arcs
 
std::map< UUID, Text > texts
 
std::map< UUID, Polygon > polygons
 
std::map< std::tuple< int, bool, UUID >, Placement > text_placements
 

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