Horizon
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
horizon::Part Class Reference
Inheritance diagram for horizon::Part:
horizon::UUIDProvider

Classes

class  PadMapItem
 

Public Types

enum  Attribute {
  MPN, VALUE, MANUFACTURER, DATASHEET,
  DESCRIPTION
}
 

Public Member Functions

 Part (const UUID &uu)
 
const std::string & get_attribute (Attribute a) const
 
const std::pair< bool, std::string > & get_attribute_pair (Attribute a) const
 
const std::string & get_MPN () const
 
const std::string & get_value () const
 
const std::string & get_manufacturer () const
 
const std::string & get_datasheet () const
 
const std::string & get_description () const
 
std::set< std::string > get_tags () const
 
UUID get_model () const
 
void update_refs (Pool &pool)
 
UUID get_uuid () const
 
json serialize () const
 

Static Public Member Functions

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

Public Attributes

UUID uuid
 
std::map< Attribute, std::pair< bool, std::string > > attributes
 
std::map< UUID, std::string > orderable_MPNs
 
std::set< std::string > tags
 
bool inherit_tags = false
 
uuid_ptr< const Entityentity
 
uuid_ptr< const Packagepackage
 
UUID model
 
bool inherit_model = true
 
uuid_ptr< const Partbase
 
std::map< std::string, std::string > parametric
 
std::map< UUID, PadMapItempad_map
 

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