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

Public Types

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

Public Member Functions

const std::string & GetName () const
 
const std::string & GetProductModel () const
 
const Net::Vector & GetNets () const
 
const Net::StringMap GetNetsByName () const
 
std::shared_ptr< NetGetNet (const std::string &name) const
 
const Package::Vector & GetPackages () const
 
const Package::StringMap & GetPackagesByName () const
 
const Component::Vector & GetComponents () const
 
const Component::StringMap & GetComponentsByName () const
 
std::shared_ptr< ComponentGetComponent (const std::string &refDes) const
 
const Part::Vector & GetParts () const
 
const Part::StringMap & GetPartsByName () const
 
std::shared_ptr< NetGetNoneNet () const
 
bool Build (std::string path)
 
bool Build (std::shared_ptr< FileModel::Design::FileArchive > pFileModel)
 
std::shared_ptr< FileModel::Design::FileArchiveGetFileModel () const
 
void ClipFileModel ()
 
std::unique_ptr< Protobuf::ProductModel::Design > to_protobuf () const override
 
void from_protobuf (const Protobuf::ProductModel::Design &message) override
 
- Public Member Functions inherited from Odb::Lib::IProtoBuffable< Protobuf::ProductModel::Design >
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 22 of file Design.h.


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