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

Public Types

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

Public Member Functions

 Net (std::string name, unsigned int index)
 
std::string GetName () const
 
PinConnection::Vector & GetPinConnections ()
 
unsigned int GetIndex () const
 
bool AddPinConnection (std::shared_ptr< Component > pComponent, std::shared_ptr< Pin > pPin)
 
std::unique_ptr< Odb::Lib::Protobuf::ProductModel::Net > to_protobuf () const override
 
void from_protobuf (const Odb::Lib::Protobuf::ProductModel::Net &message) override
 
- Public Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ProductModel::Net >
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 Net.h.


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