7 #include "../../odbdesign_export.h"
8 #include "ComponentsFile.h"
9 #include "../../IProtoBuffable.h"
10 #include "../../ProtoBuf/layerdirectory.pb.h"
11 #include "FeaturesFile.h"
12 #include "AttrListFile.h"
13 #include "../ISaveable.h"
16 namespace Odb::Lib::FileModel::Design
24 std::string GetName()
const;
25 std::filesystem::path GetPath()
const;
29 bool Save(
const std::filesystem::path& directory)
override;
31 bool ParseComponentsFile(std::filesystem::path directory);
32 bool ParseFeaturesFile(std::filesystem::path directory);
33 bool ParseAttrListFile(std::filesystem::path directory);
39 typedef std::map<std::string, std::shared_ptr<LayerDirectory>> StringMap;
42 std::unique_ptr<Odb::Lib::Protobuf::LayerDirectory> to_protobuf()
const override;
43 void from_protobuf(
const Odb::Lib::Protobuf::LayerDirectory& message)
override;
47 std::filesystem::path m_path;