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

Classes

struct  BomDescriptionRecord
 
struct  ComponentRecord
 

Public Member Functions

bool Parse (std::filesystem::path directory)
 
std::string GetUnits () const
 
BoardSide GetSide () const
 
std::filesystem::path GetPath ()
 
std::filesystem::path GetDirectory ()
 
std::string GetLayerName () const
 
const ComponentRecord::Vector & GetComponentRecords () const
 
const ComponentRecord::StringMap & GetComponentRecordsByName () const
 
const std::vector< std::string > & GetAttributeNames () const
 
const std::vector< std::string > & GetAttributeTextValues () const
 
const BomDescriptionRecord::StringMap & GetBomDescriptionRecordsByCpn () const
 
std::unique_ptr< Odb::Lib::Protobuf::ComponentsFile > to_protobuf () const override
 
void from_protobuf (const Odb::Lib::Protobuf::ComponentsFile &message) override
 
- Public Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::ComponentsFile >
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
 

Static Public Attributes

constexpr static const char * TOP_COMPONENTS_LAYER_NAME = "comp_+_top"
 
constexpr static const char * BOTTOM_COMPONENTS_LAYER_NAME = "comp_+_bot"
 

Detailed Description

Definition at line 18 of file ComponentsFile.h.


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