LeviLamina
Loading...
Searching...
No Matches
Document.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Bedrock::JSONObject { class NodeBase; }
8namespace Bedrock::JSONObject { class OutputOptions; }
9namespace Bedrock::JSONObject { class ParseResult; }
10namespace Bedrock::JSONObject { class ValueWrapper; }
11// clang-format on
12
13namespace Bedrock::JSONObject {
14
15class Document {
16public:
17 // Document inner types declare
18 // clang-format off
19 struct AllocatedResources;
20 // clang-format on
21
22 // Document inner types define
23 struct AllocatedResources {
24 public:
25 // member variables
26 // NOLINTBEGIN
33 // NOLINTEND
34
35 public:
36 // prevent constructor by default
37 AllocatedResources& operator=(AllocatedResources const&);
38 AllocatedResources(AllocatedResources const&);
39 AllocatedResources();
40 };
41
42public:
43 // member variables
44 // NOLINTBEGIN
52 // NOLINTEND
53
54public:
55 // prevent constructor by default
56 Document& operator=(Document const&);
57 Document(Document const&);
58 Document();
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCNAPI ::Bedrock::JSONObject::NodeBase* _createNode(::Bedrock::JSONObject::ValueWrapper const& value);
64
65 MCNAPI void _initialize();
66
68
69 MCNAPI ::Bedrock::JSONObject::ParseResult const& loadString(::std::string_view str);
70
71#ifdef LL_PLAT_C
72 MCNAPI void writeStream(::std::ostream& out, ::Bedrock::JSONObject::OutputOptions const& outputOptions) const;
73
74 MCNAPI void writeString(::std::string& dest, ::Bedrock::JSONObject::OutputOptions const& outputOptions) const;
75#endif
76
77 MCNAPI ~Document();
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83 MCNAPI void $dtor();
84 // NOLINTEND
85};
86
87} // namespace Bedrock::JSONObject
MCAPI::Bedrock::JSONObject::ParseResult const & loadString(::std::string_view str)
MCAPI::Bedrock::JSONObject::NodeBase * _createNode(::Bedrock::JSONObject::ValueWrapper const &value)
MCAPI void _releaseNode(::Bedrock::JSONObject::NodeBase &node)
Definition NodeBase.h:11
Definition OutputOptions.h:7
Definition ParseResult.h:7
Definition ValueWrapper.h:7
Definition Alias.h:14