LeviLamina
Loading...
Searching...
No Matches
ParseHandler.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 ValueWrapper; }
8// clang-format on
9
10namespace Bedrock::JSONObject {
11
13: public ::rapidjson::BaseReaderHandler<::rapidjson::UTF8<char>, ::Bedrock::JSONObject::ParseHandler> {
14public:
15 // ParseHandler inner types declare
16 // clang-format off
17 struct StackEntry;
18 // clang-format on
19
20 // ParseHandler inner types define
21 struct StackEntry {
22 public:
23 // member variables
24 // NOLINTBEGIN
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
32 StackEntry& operator=(StackEntry const&);
33 StackEntry(StackEntry const&);
34 StackEntry();
35 };
36
37public:
38 // member variables
39 // NOLINTBEGIN
42 // NOLINTEND
43
44public:
45 // prevent constructor by default
46 ParseHandler& operator=(ParseHandler const&);
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCNAPI bool Bool(bool b);
54
55 MCNAPI bool Double(double d);
56
57 MCNAPI bool Int(int i);
58
59 MCNAPI bool Int64(int64 i);
60
61 MCNAPI bool Key(char const* str, uint length, bool copy);
62
63 MCNAPI bool Null();
64
65 MCNAPI bool StartArray();
66
67 MCNAPI bool StartObject();
68
69 MCNAPI bool String(char const* str, uint length, bool copy);
70
71 MCNAPI bool Uint(uint u);
72
73 MCNAPI bool Uint64(uint64 u);
74
76 // NOLINTEND
77};
78
79} // namespace Bedrock::JSONObject
Definition ParseHandler.h:13
MCAPI bool _addObjectOrArray(::Bedrock::JSONObject::ValueWrapper const &value)
MCAPI bool Key(char const *str, uint length, bool copy)
MCAPI bool String(char const *str, uint length, bool copy)
Definition ValueWrapper.h:7
Definition Alias.h:14