mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-09-07 09:17:26 +00:00
Add initial draft of structured data def parser to parse enums only for now
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "Domain/CommonStructuredDataDef.h"
|
||||
|
||||
namespace sdd
|
||||
{
|
||||
class StructuredDataDefParserState
|
||||
{
|
||||
public:
|
||||
std::vector<std::unique_ptr<CommonStructuredDataDef>> m_defs;
|
||||
|
||||
CommonStructuredDataDef* m_current_def;
|
||||
CommonStructuredDataDefEnum* m_current_enum;
|
||||
CommonStructuredDataDefStruct* m_current_struct;
|
||||
|
||||
StructuredDataDefParserState();
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user