Parse StructuredDataDef structs

This commit is contained in:
Jan
2022-01-19 19:58:41 +01:00
parent 1c1fbd1007
commit 944586fcde
5 changed files with 283 additions and 14 deletions

View File

@ -1,4 +1,5 @@
#pragma once
#include <map>
#include <memory>
#include <vector>
@ -15,6 +16,10 @@ namespace sdd
CommonStructuredDataDefEnum* m_current_enum;
CommonStructuredDataDefStruct* m_current_struct;
std::map<std::string, CommonStructuredDataDefType> m_def_types_by_name;
std::map<CommonStructuredDataDefIndexedArray, size_t> m_def_indexed_arrays;
std::map<CommonStructuredDataDefEnumedArray, size_t> m_def_enumed_arrays;
StructuredDataDefParserState();
};
}