#include <AttrListFile.h>
Public Types | |
| typedef std::map< std::string, std::string > | AttributeMap |
Public Member Functions | |
| AttrListFile () | |
| std::string | GetUnits () const |
| const AttributeMap & | GetAttributes () const |
| bool | Parse (std::filesystem::path directory) |
| bool | Save (std::ostream &os) override |
| std::unique_ptr< Odb::Lib::Protobuf::AttrListFile > | to_protobuf () const override |
| void | from_protobuf (const Odb::Lib::Protobuf::AttrListFile &message) override |
Public Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::AttrListFile > | |
| 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 () |
Additional Inherited Members | |
Protected Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::AttrListFile > | |
| IProtoBuffable ()=default | |
Protected Member Functions inherited from Utils::IJsonable | |
| IJsonable ()=default | |
Protected Member Functions inherited from Odb::Lib::FileModel::IStreamSaveable | |
| IStreamSaveable ()=default | |
Definition at line 18 of file AttrListFile.h.
| typedef std::map<std::string, std::string> Odb::Lib::FileModel::Design::AttrListFile::AttributeMap |
Definition at line 23 of file AttrListFile.h.
| Odb::Lib::FileModel::Design::AttrListFile::AttrListFile | ( | ) |
Definition at line 18 of file AttrListFile.cpp.
|
overridevirtual |
Implements Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::AttrListFile >.
Definition at line 180 of file AttrListFile.cpp.
| const AttrListFile::AttributeMap & Odb::Lib::FileModel::Design::AttrListFile::GetAttributes | ( | ) | const |
Definition at line 30 of file AttrListFile.cpp.
| std::string Odb::Lib::FileModel::Design::AttrListFile::GetUnits | ( | ) | const |
Definition at line 25 of file AttrListFile.cpp.
| bool Odb::Lib::FileModel::Design::AttrListFile::Parse | ( | std::filesystem::path | directory | ) |
Definition at line 35 of file AttrListFile.cpp.
|
overridevirtual |
Implements Odb::Lib::FileModel::IStreamSaveable.
Definition at line 207 of file AttrListFile.cpp.
|
overridevirtual |
Implements Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::AttrListFile >.
Definition at line 163 of file AttrListFile.cpp.