3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/cereal/schema/SchemaRWType.h"
7#include "mc/deps/cereal/schema/SchemaWriter.h"
33 StackNode& operator=(StackNode
const&);
34 StackNode(StackNode
const&);
58 NBTSchemaWriter& operator=(NBTSchemaWriter
const&);
59 NBTSchemaWriter(NBTSchemaWriter
const&);
67 virtual bool write(
bool value) ;
69 virtual bool write(schar value) ;
71 virtual bool write(uchar value) ;
73 virtual bool write(
short value) ;
75 virtual bool write(ushort value) ;
77 virtual bool write(
int value) ;
79 virtual bool write(uint value) ;
81 virtual bool write(int64) ;
83 virtual bool write(uint64) ;
85 virtual bool write(
float value) ;
87 virtual bool write(
double value) ;
89 virtual bool write(::std::string_view
const value) ;
91 virtual bool write(::gsl::span<uchar const> view) ;
93 virtual void writeValidityFlag(
bool) ;
95 virtual void writeControlValue(uint) ;
97 virtual bool pushMember(::std::string_view
const memberName) ;
99 virtual void popMember() ;
101 virtual ::cereal::SchemaRWType openObject() ;
103 virtual ::cereal::SchemaRWType openArray(
bool isDynamicExtent, uint64 length) ;
105 virtual void close() ;
107 virtual ~NBTSchemaWriter() =
default;
143 MCNAPI
bool $write(::std::string_view
const value);
145 MCNAPI
bool $write(::gsl::span<uchar const> view);
157 MCNAPI ::cereal::SchemaRWType
$openArray(
bool isDynamicExtent, uint64 length);
MCAPI bool $write(uchar value)
MCAPI bool _serializeTag(::std::unique_ptr<::Tag > tag)
MCAPI bool $write(float value)
MCAPI bool $pushMember(::std::string_view const memberName)
static MCAPI void ** $vftable()
MCAPI void $writeControlValue(uint)
MCAPI bool $write(::std::string_view const value)
MCAPI bool $write(int value)
MCAPI bool $write(schar value)
MCAPI bool $write(ushort value)
MCAPI void $writeValidityFlag(bool)
MCAPI bool $write(short value)
MCAPI bool $write(::cereal::NullType)
MCAPI bool $write(uint64)
MCAPI bool $write(::gsl::span< uchar const > view)
MCAPI bool $write(bool value)
MCAPI bool $write(double value)
MCAPI bool $write(uint value)
MCAPI::cereal::SchemaRWType $openObject()
MCAPI::cereal::SchemaRWType $openArray(bool isDynamicExtent, uint64 length)
Definition NBTSchemaWriter.h:23
Definition SchemaWriter.h:16