3#include <factories/BaseFactory.h>
4#include "geo/GeoCommand.h"
8typedef std::variant<uint8_t, int8_t, uint16_t, int16_t, uint32_t, int32_t, uint64_t, Vec2f, Vec3f, Vec3s, Vec3i, Vec4f, Vec4s, std::string> GeoArgument;
10enum class GeoArgumentType {
11 U8, S8, U16, S16, U32, S32, U64, VEC2F, VEC3F, VEC3S, VEC3I, VEC4F, VEC4S, STRING
18 std::vector<GeoArgument> arguments;
24 std::vector<GeoCommand> commands;
26 explicit GeoLayout(std::vector<GeoCommand> commands) : commands(std::move(commands)) {}
30 ExportResult Export(std::ostream& write, std::shared_ptr<IParsedData> data, std::string& entryName, YAML::Node& node, std::string* replacement)
override;
34 ExportResult Export(std::ostream& write, std::shared_ptr<IParsedData> data, std::string& entryName, YAML::Node& node, std::string* replacement)
override;
38 ExportResult Export(std::ostream& write, std::shared_ptr<IParsedData> data, std::string& entryName, YAML::Node& node, std::string* replacement)
override;
45 std::optional<std::shared_ptr<IParsedData>> parse(std::vector<uint8_t>& buffer, YAML::Node& data)
override;
46 std::unordered_map<ExportType, std::shared_ptr<BaseExporter>> GetExporters()
override {
Definition BaseFactory.h:88
Definition BaseFactory.h:94
Definition BaseFactory.h:80
Definition GeoLayoutFactory.h:37
Definition GeoLayoutFactory.h:29
Definition GeoLayoutFactory.h:16