Torch
Loading...
Searching...
No Matches
OoTPathFactory.h
1
#pragma once
2
3
#include "factories/BaseFactory.h"
4
5
namespace
OoT {
6
7
class
OoTPathBinaryExporter
:
public
BaseExporter
{
8
ExportResult Export(std::ostream& write, std::shared_ptr<IParsedData> data, std::string& entryName,
9
YAML::Node& node, std::string* replacement)
override
;
10
};
11
12
class
OoTPathFactory
:
public
BaseFactory
{
13
public
:
14
std::optional<std::shared_ptr<IParsedData>> parse(std::vector<uint8_t>& buffer, YAML::Node& data)
override
;
15
std::unordered_map<ExportType, std::shared_ptr<BaseExporter>> GetExporters()
override
{
16
return
{
17
REGISTER(Binary,
OoTPathBinaryExporter
)
18
};
19
}
20
};
21
22
}
// namespace OoT
BaseExporter
Definition
BaseFactory.h:96
BaseFactory
Definition
BaseFactory.h:102
OoT::OoTPathBinaryExporter
Definition
OoTPathFactory.h:7
OoT::OoTPathFactory
Definition
OoTPathFactory.h:12
src
factories
oot
OoTPathFactory.h
Generated by
1.14.0