29 std::string GetName();
30 std::filesystem::path GetPath();
44 bool Save(
const std::filesystem::path& directory)
override;
46 typedef std::map<std::string, std::shared_ptr<StepDirectory>>
StringMap;
49 std::unique_ptr<Odb::Lib::Protobuf::StepDirectory> to_protobuf()
const override;
53 std::unique_ptr<Odb::Lib::Protobuf::StepDirectory> to_protobuf_skeleton()
const;
54 void from_protobuf(
const Odb::Lib::Protobuf::StepDirectory& message)
override;
58 std::filesystem::path m_path;
67 bool ParseLayerFiles(std::filesystem::path layersPath);
68 bool ParseNetlistFiles(std::filesystem::path netlistsPath);
69 bool ParseEdaDataFiles(std::filesystem::path edaPath);
70 bool ParseAttrListFile(std::filesystem::path attrListFileDirectory);
71 bool ParseProfileFile(std::filesystem::path profileFileDirectory);
72 bool ParseStepHdrFile(std::filesystem::path stepHdrFileDirectory);
77 void FillProtobufMessage(Odb::Lib::Protobuf::StepDirectory& stepDirectoryMessage,
bool layerSkeletons)
const;
80 constexpr inline static const char* PROFILE_FILENAME =
"profile";