mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-13 08:18:21 -05: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