13 std::vector<std::byte> data;
16 inline void checkSize(
unsigned int x);
17 int getWordInt(std::byte a, std::byte b);
18 int getCoordinate(std::byte a, std::byte b, std::byte c, std::byte d);
19 int getElemSize(std::byte a, std::byte b);
20 std::string getStructName(uint32_t readPosition);
21 std::vector<std::pair<int, int>> getXY(uint32_t readPosition);
22 std::vector<MyPolygon> getStrRefPolygons(
Gds2Structure& str, std::map<std::string, Gds2Structure>& structMap, std::vector<MyPolygon>& polygons);
23 StructRef getStructRef(uint32_t& readPosition);
24 MyPolygon getPolygon(uint32_t& readPosition);
25 Gds2Path getPath(uint32_t& readPosition);
27 std::pair<std::vector<MyPolygon>, std::vector<Gds2Path>> getStrRefData(
Gds2Structure& structure, std::map<std::string, Gds2Structure>& structMap, std::pair<std::vector<MyPolygon>, std::vector<Gds2Path>>& strReFData);
31 std::vector<std::byte>
readFileData(
const std::string& name);
34 std::pair<std::vector<MyPolygon>,std::vector<Gds2Path>>
modelData();
35 std::pair<std::vector<MyPolygon>, std::vector<Gds2Path>>
getStructData(std::vector<Gds2Structure>& structures);
36 std::vector<std::pair<int, std::vector<int>>>
readStackUp(std::string path);