OdbDesignLib
OdbDesign ODB++ Parsing Library
Odb::Lib::ProductModel::Component Class Reference
Inheritance diagram for Odb::Lib::ProductModel::Component:
Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Component >

Public Types

typedef std::vector< std::shared_ptr< Component > > Vector
 
typedef std::map< std::string, std::shared_ptr< Component > > StringMap
 

Public Member Functions

 Component (const std::string &refDes, const std::string &partName, std::shared_ptr< Package > pPackage, unsigned int index, BoardSide side, std::shared_ptr< Part > pPart)
 
std::string GetRefDes () const
 
std::string GetPartName () const
 
std::shared_ptr< PackageGetPackage () const
 
unsigned int GetIndex () const
 
BoardSide GetSide () const
 
std::shared_ptr< PartGetPart () const
 
std::unique_ptr< Odb::Lib::Protobuf::ProductModel::Component > to_protobuf () const override
 
void from_protobuf (const Odb::Lib::Protobuf::ProductModel::Component &message) override
 
- Public Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Component >
bool to_pbstring (std::string &pb_string) const
 
bool from_pbstring (const std::string &pb_string)
 
bool to_stream (std::ostream &outputStream) const
 
bool from_stream (std::istream &inputStream)
 
std::string to_json () const override
 
void from_json (const std::string &json) override
 

Detailed Description

Definition at line 17 of file Component.h.


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