mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-04 10:11:53 +00:00
Dump struct member names
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "Dumping/AbstractTextDumper.h"
|
||||
#include "StructuredDataDef/CommonStructuredDataDef.h"
|
||||
@ -14,7 +16,9 @@ class StructuredDataDefDumperNew : AbstractTextDumper
|
||||
void WriteLineComment(const std::string& comment) const;
|
||||
|
||||
void DumpEnum(const CommonStructuredDataEnum& _enum);
|
||||
void DumpStruct(const CommonStructuredDataStruct& _struct);
|
||||
void DumpType(const CommonStructuredDataDef& def, CommonStructuredDataType type, std::string& typeName, std::vector<std::string>& arraySpecifiersInReverseOrder);
|
||||
void DumpProperty(const CommonStructuredDataDef& def, const CommonStructuredDataStructEntry& property, unsigned& currentOffsetInBit);
|
||||
void DumpStruct(const CommonStructuredDataDef& def, const CommonStructuredDataStruct& _struct, size_t structIndex);
|
||||
|
||||
public:
|
||||
explicit StructuredDataDefDumperNew(std::ostream& stream);
|
||||
|
Reference in New Issue
Block a user