mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-07-04 10:11:53 +00:00
Dump CommonStructuredDataDefSet instead of the game's internal structures
This commit is contained in:
23
src/ObjWriting/StructuredDataDef/StructuredDataDefDumper.h
Normal file
23
src/ObjWriting/StructuredDataDef/StructuredDataDefDumper.h
Normal file
@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
#include <ostream>
|
||||
|
||||
#include "Dumping/AbstractTextDumper.h"
|
||||
#include "StructuredDataDef/CommonStructuredDataDef.h"
|
||||
|
||||
class StructuredDataDefDumperNew : AbstractTextDumper
|
||||
{
|
||||
struct
|
||||
{
|
||||
bool m_empty_line_before_definition : 1;
|
||||
} m_flags;
|
||||
|
||||
void WriteLineComment(const std::string& comment) const;
|
||||
|
||||
void DumpEnum(const CommonStructuredDataEnum& _enum);
|
||||
void DumpStruct(const CommonStructuredDataStruct& _struct);
|
||||
|
||||
public:
|
||||
explicit StructuredDataDefDumperNew(std::ostream& stream);
|
||||
|
||||
void DumpDef(const CommonStructuredDataDef& def);
|
||||
};
|
Reference in New Issue
Block a user