LeviLamina
Loading...
Searching...
No Matches
Document.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/container/list.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Bedrock::JSONObject { class NodeBase; }
11namespace Bedrock::JSONObject { class ParseResult; }
12namespace Bedrock::JSONObject { class StringNode; }
13namespace Bedrock::JSONObject { class ValueWrapper; }
14// clang-format on
15
16namespace Bedrock::JSONObject {
17
18class Document {
19public:
20 // Document inner types declare
21 // clang-format off
22 struct AllocatedResources;
23 // clang-format on
24
25 // Document inner types define
27 public:
28 // member variables
29 // NOLINTBEGIN
36 // NOLINTEND
37
38 public:
39 // prevent constructor by default
40 AllocatedResources& operator=(AllocatedResources const&);
43 };
44
45public:
46 // member variables
47 // NOLINTBEGIN
55 // NOLINTEND
56
57public:
58 // prevent constructor by default
59 Document& operator=(Document const&);
60 Document(Document const&);
61 Document();
62
63public:
64 // member functions
65 // NOLINTBEGIN
66 MCAPI void* _acquireNode(
67 ::Bedrock::Intrusive::
68 list<::Bedrock::JSONObject::NodeBase, ::Bedrock::JSONObject::NodeBase, ::Bedrock::JSONObject::NodeBase>&
69 freeList,
70 uint64 size,
71 uint64 alignment
72 );
73
74 MCAPI void* _acquireStringBuffer(uint64 length, uint64& outCapacity);
75
76 MCAPI ::Bedrock::JSONObject::NodeBase* _createNode(::Bedrock::JSONObject::ValueWrapper const& value);
77
78 MCAPI void _initialize();
79
80 MCAPI void _releaseNode(::Bedrock::JSONObject::NodeBase& node);
81
82 MCAPI void _releaseStringBuffer(::Bedrock::JSONObject::StringNode& node);
83
84 MCAPI ::Bedrock::JSONObject::ParseResult const& loadString(::std::string_view str);
85
86 MCAPI ~Document();
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCAPI void $dtor();
93 // NOLINTEND
94};
95
96} // namespace Bedrock::JSONObject
Definition Document.h:18
Definition NodeBase.h:11
Definition StringNode.h:10
Definition ValueWrapper.h:7
Definition Alias.h:14