#include <FileArchive.h>
Public Types | |
| typedef std::vector< std::shared_ptr< FileArchive > > | Vector |
| typedef std::map< std::string, std::shared_ptr< FileArchive > > | StringMap |
Public Member Functions | |
| FileArchive () | |
| FileArchive (const std::string &path) | |
| ~FileArchive () override | |
| std::string | GetRootDir () const |
| std::string | GetProductName () const |
| std::string | GetFilename () const |
| std::string | GetFilePath () const |
| const StepDirectory::StringMap & | GetStepsByName () const |
| const SymbolsDirectory::StringMap & | GetSymbolsDirectoriesByName () const |
| const MiscInfoFile & | GetMiscInfoFile () const |
| const MatrixFile & | GetMatrixFile () const |
| const StandardFontsFile & | GetStandardFontsFile () const |
| const AttrListFile & | GetMiscAttrListFile () const |
| std::shared_ptr< StepDirectory > | GetStepDirectory (const std::string &stepName="") const |
| bool | ParseFileModel () |
| bool | SaveFileModel (const std::filesystem::path &directory) |
| bool | SaveFileModel (const std::filesystem::path &directory, const std::string &archiveName) |
| std::unique_ptr< Odb::Lib::Protobuf::FileArchive > | to_protobuf () const override |
| std::unique_ptr< Odb::Lib::Protobuf::FileArchive > | to_protobuf_skeleton () const |
| void | from_protobuf (const Odb::Lib::Protobuf::FileArchive &message) override |
Public Member Functions inherited from Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::FileArchive > | |
| 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::FileArchive > | |
| IProtoBuffable ()=default | |
Protected Member Functions inherited from Utils::IJsonable | |
| IJsonable ()=default | |
Protected Member Functions inherited from Odb::Lib::FileModel::ISaveable | |
| ISaveable ()=default | |
Definition at line 22 of file FileArchive.h.
| typedef std::map<std::string, std::shared_ptr<FileArchive> > Odb::Lib::FileModel::Design::FileArchive::StringMap |
Definition at line 62 of file FileArchive.h.
| typedef std::vector<std::shared_ptr<FileArchive> > Odb::Lib::FileModel::Design::FileArchive::Vector |
Definition at line 61 of file FileArchive.h.
| Odb::Lib::FileModel::Design::FileArchive::FileArchive | ( | ) |
Definition at line 21 of file FileArchive.cpp.
|
explicit |
Definition at line 26 of file FileArchive.cpp.
|
override |
Definition at line 31 of file FileArchive.cpp.
|
overridevirtual |
Implements Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::FileArchive >.
Definition at line 304 of file FileArchive.cpp.
| std::string Odb::Lib::FileModel::Design::FileArchive::GetFilename | ( | ) | const |
Definition at line 52 of file FileArchive.cpp.
| std::string Odb::Lib::FileModel::Design::FileArchive::GetFilePath | ( | ) | const |
Definition at line 47 of file FileArchive.cpp.
| const MatrixFile & Odb::Lib::FileModel::Design::FileArchive::GetMatrixFile | ( | ) | const |
Definition at line 510 of file FileArchive.cpp.
| const AttrListFile & Odb::Lib::FileModel::Design::FileArchive::GetMiscAttrListFile | ( | ) | const |
Definition at line 520 of file FileArchive.cpp.
| const MiscInfoFile & Odb::Lib::FileModel::Design::FileArchive::GetMiscInfoFile | ( | ) | const |
Definition at line 505 of file FileArchive.cpp.
| std::string Odb::Lib::FileModel::Design::FileArchive::GetProductName | ( | ) | const |
Definition at line 42 of file FileArchive.cpp.
| std::string Odb::Lib::FileModel::Design::FileArchive::GetRootDir | ( | ) | const |
Definition at line 37 of file FileArchive.cpp.
| const StandardFontsFile & Odb::Lib::FileModel::Design::FileArchive::GetStandardFontsFile | ( | ) | const |
Definition at line 515 of file FileArchive.cpp.
| std::shared_ptr< StepDirectory > Odb::Lib::FileModel::Design::FileArchive::GetStepDirectory | ( | const std::string & | stepName = "" | ) | const |
| const StepDirectory::StringMap & Odb::Lib::FileModel::Design::FileArchive::GetStepsByName | ( | ) | const |
| const SymbolsDirectory::StringMap & Odb::Lib::FileModel::Design::FileArchive::GetSymbolsDirectoriesByName | ( | ) | const |
Definition at line 63 of file FileArchive.cpp.
| bool Odb::Lib::FileModel::Design::FileArchive::ParseFileModel | ( | ) |
Definition at line 68 of file FileArchive.cpp.
| bool Odb::Lib::FileModel::Design::FileArchive::SaveFileModel | ( | const std::filesystem::path & | directory | ) |
| bool Odb::Lib::FileModel::Design::FileArchive::SaveFileModel | ( | const std::filesystem::path & | directory, |
| const std::string & | archiveName | ||
| ) |
|
overridevirtual |
Implements Odb::Lib::IProtoBuffable< Odb::Lib::Protobuf::FileArchive >.
Definition at line 262 of file FileArchive.cpp.
| std::unique_ptr< Protobuf::FileArchive > Odb::Lib::FileModel::Design::FileArchive::to_protobuf_skeleton | ( | ) | const |
Definition at line 273 of file FileArchive.cpp.