DNA Calib 1.1
Project brief
JSONStreamWriterImpl.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "dna/DNA.h"
7#include "dna/WriterImpl.h"
8
10
11namespace dna {
12
13class JSONStreamWriterImpl : public WriterImpl<JSONStreamWriter> {
14 public:
15 JSONStreamWriterImpl(BoundedIOStream* stream_, std::uint32_t indentWidth, MemoryResource* memRes_);
16
17 void write() override;
18
19 private:
22
23};
24
25} // namespace dna
Definition: JSONStreamWriterImpl.h:13
JSONStreamWriterImpl(BoundedIOStream *stream_, std::uint32_t indentWidth, MemoryResource *memRes_)
Definition: JSONStreamWriterImpl.cpp:29
void write() override
Write data to stream from internal structures.
Definition: JSONStreamWriterImpl.cpp:36
terse::JSONOutputArchive< BoundedIOStream > archive
Definition: JSONStreamWriterImpl.h:21
BoundedIOStream * stream
Definition: JSONStreamWriterImpl.h:20
Definition: dna/WriterImpl.h:35
MemoryResource is an abstract class that allows the implementation of polymorphic allocators.
Definition: MemoryResource.h:17
Definition: json/OutputArchive.h:293
Definition: Stream.h:14
Definition: BinaryStreamReader.h:10