#include <NetlistFile.h>
Classes | |
| struct | NetPointRecord |
| struct | NetRecord |
Public Types | |
| enum class | Staggered { Yes , No , Unknown } |
| typedef std::vector< std::shared_ptr< NetlistFile > > | Vector |
| typedef std::map< std::string, std::shared_ptr< NetlistFile > > | StringMap |
Public Member Functions | |
| NetlistFile (std::filesystem::path path) | |
| ~NetlistFile () | |
| std::filesystem::path | GetPath () const |
| std::string | GetName () const |
| std::string | GetUnits () const |
| bool | GetOptimized () const |
| Staggered | GetStaggered () const |
| const NetRecord::Vector & | GetNetRecords () const |
| const NetRecord::StringMap & | GetNetRecordsByName () const |
| const NetPointRecord::Vector & | GetNetPointRecords () const |
| bool | Parse () |
| bool | Save (const std::filesystem::path &directory) override |
| std::unique_ptr< Odb::Lib::Protobuf::NetlistFile > | to_protobuf () const override |
| void | from_protobuf (const Odb::Lib::Protobuf::NetlistFile &message) override |
Public Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::NetlistFile > | |
| 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 |
Public Member Functions inherited from Utils::IJsonable | |
| virtual | ~IJsonable () |
Static Public Attributes | |
| static const Utils::EnumMap< Staggered > | staggeredMap |
Additional Inherited Members | |
Protected Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::NetlistFile > | |
| IProtoBuffable ()=default | |
Protected Member Functions inherited from Utils::IJsonable | |
| IJsonable ()=default | |
Protected Member Functions inherited from Odb::Lib::FileModel::ISaveable | |
| ISaveable ()=default | |
Protected Member Functions inherited from Odb::Lib::FileModel::IStreamSaveable | |
| IStreamSaveable ()=default | |
Definition at line 18 of file NetlistFile.h.
| typedef std::map<std::string, std::shared_ptr<NetlistFile> > Odb::Lib::FileModel::Design::NetlistFile::StringMap |
Definition at line 123 of file NetlistFile.h.
| typedef std::vector<std::shared_ptr<NetlistFile> > Odb::Lib::FileModel::Design::NetlistFile::Vector |
Definition at line 122 of file NetlistFile.h.
|
strong |
| Enumerator | |
|---|---|
| Yes | |
| No | |
| Unknown | |
Definition at line 85 of file NetlistFile.h.
| Odb::Lib::FileModel::Design::NetlistFile::NetlistFile | ( | std::filesystem::path | path | ) |
Definition at line 23 of file NetlistFile.cpp.
| Odb::Lib::FileModel::Design::NetlistFile::~NetlistFile | ( | ) |
Definition at line 30 of file NetlistFile.cpp.
|
overridevirtual |
Implements Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::NetlistFile >.
Definition at line 326 of file NetlistFile.cpp.
| std::string Odb::Lib::FileModel::Design::NetlistFile::GetName | ( | ) | const |
Definition at line 42 of file NetlistFile.cpp.
| const NetlistFile::NetPointRecord::Vector & Odb::Lib::FileModel::Design::NetlistFile::GetNetPointRecords | ( | ) | const |
Definition at line 72 of file NetlistFile.cpp.
| const NetlistFile::NetRecord::Vector & Odb::Lib::FileModel::Design::NetlistFile::GetNetRecords | ( | ) | const |
Definition at line 62 of file NetlistFile.cpp.
| const NetlistFile::NetRecord::StringMap & Odb::Lib::FileModel::Design::NetlistFile::GetNetRecordsByName | ( | ) | const |
Definition at line 67 of file NetlistFile.cpp.
| bool Odb::Lib::FileModel::Design::NetlistFile::GetOptimized | ( | ) | const |
Definition at line 52 of file NetlistFile.cpp.
| std::filesystem::path Odb::Lib::FileModel::Design::NetlistFile::GetPath | ( | ) | const |
Definition at line 37 of file NetlistFile.cpp.
| NetlistFile::Staggered Odb::Lib::FileModel::Design::NetlistFile::GetStaggered | ( | ) | const |
Definition at line 57 of file NetlistFile.cpp.
| std::string Odb::Lib::FileModel::Design::NetlistFile::GetUnits | ( | ) | const |
Definition at line 47 of file NetlistFile.cpp.
| bool Odb::Lib::FileModel::Design::NetlistFile::Parse | ( | ) |
|
overridevirtual |
Implements Odb::Lib::FileModel::ISaveable.
Definition at line 375 of file NetlistFile.cpp.
|
overridevirtual |
Implements Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::NetlistFile >.
Definition at line 297 of file NetlistFile.cpp.
|
inlinestatic |
Definition at line 92 of file NetlistFile.h.