DNA Calib 1.1
Project brief
JSONStreamReaderImpl.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "dna/ReaderImpl.h"
7#include "dna/TypeDefs.h"
8
9#include <status/Provider.h>
11
12namespace dna {
13
14class JSONStreamReaderImpl : public ReaderImpl<JSONStreamReader> {
15 public:
17
18 void unload(DataLayer layer) override;
19 void read() override;
20
21 private:
23
26};
27
28} // namespace dna
Definition: JSONStreamReaderImpl.h:14
void unload(DataLayer layer) override
Unload all data of the specified layer and all layers dependent on it.
Definition: JSONStreamReaderImpl.cpp:49
static sc::StatusProvider status
Definition: JSONStreamReaderImpl.h:22
JSONStreamReaderImpl(BoundedIOStream *stream_, MemoryResource *memRes_)
Definition: JSONStreamReaderImpl.cpp:42
BoundedIOStream * stream
Definition: JSONStreamReaderImpl.h:24
void read() override
read data from stream into internal structures.
Definition: JSONStreamReaderImpl.cpp:65
terse::JSONInputArchive< BoundedIOStream > archive
Definition: JSONStreamReaderImpl.h:25
Definition: dna/ReaderImpl.h:23
MemoryResource is an abstract class that allows the implementation of polymorphic allocators.
Definition: MemoryResource.h:17
Definition: Provider.h:22
Definition: json/InputArchive.h:535
Definition: Stream.h:14
Definition: BinaryStreamReader.h:10
DataLayer
Definition: DataLayer.h:7