blob: c2083bdb62a86f811e9191d8c2a3298fbd0a30f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef TESDATA_BRANCHCONFLICTPARSER_H
#define TESDATA_BRANCHCONFLICTPARSER_H
#include "PluginList.h"
#include "RecordPath.h"
#include <istream>
#include <vector>
namespace TESData
{
class BranchConflictParser final
{
public:
BranchConflictParser(PluginList* pluginList, const std::string& pluginName,
const RecordPath& path);
bool Group(TESFile::GroupData group);
void EndGroup();
bool Form(TESFile::FormData form);
void EndForm();
bool Chunk(TESFile::Type type);
void Data(std::istream& stream);
private:
PluginList* m_PluginList;
std::string m_PluginName;
TESData::RecordPath m_Path;
std::vector<std::string> m_Masters;
RecordPath m_CurrentPath;
TESFile::Type m_CurrentType;
TESFile::Type m_CurrentChunk;
std::string m_CurrentName;
};
} // namespace TESData
#endif // TESDATA_BRANCHCONFLICTPARSER_H
|