LeviLamina
Loading...
Searching...
No Matches
JsonValueHierarchy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
9class SemVersion;
10namespace Json { class Value; }
11// clang-format on
12
13class JsonValueHierarchy {
14public:
15 // member variables
16 // NOLINTBEGIN
18 // NOLINTEND
19
20#ifdef LL_PLAT_S
21public:
22 // prevent constructor by default
23 JsonValueHierarchy& operator=(JsonValueHierarchy const&);
24 JsonValueHierarchy(JsonValueHierarchy const&);
25 JsonValueHierarchy();
26
27#else // LL_PLAT_C
28public:
29 // prevent constructor by default
30 JsonValueHierarchy& operator=(JsonValueHierarchy const&);
31 JsonValueHierarchy();
32
33#endif
34public:
35 // member functions
36 // NOLINTBEGIN
37#ifdef LL_PLAT_C
38 MCNAPI JsonValueHierarchy(::JsonValueHierarchy const&);
39
40 MCNAPI ::Json::Value const& get(::std::string const& name) const;
41
42 MCNAPI ::Json::Value const& get(::std::string const& name, ::SemVersion const& requiredMinimumFormatVersion) const;
43
44 MCNAPI ::Json::Value const& get(::std::string const& owningFieldName, ::std::string const& subFieldName) const;
45
46 MCNAPI ::SemVersion const& getFormatVersion() const;
47
48 MCNAPI ::std::vector<::JsonValueHierarchyNode> getMemberArray(::std::string const& name) const;
49
50 MCNAPI ::MinEngineVersion const& getMinEngineVersion() const;
51
52 MCNAPI ::Json::Value const& operator[](::std::string const& name) const;
53
54 MCNAPI void pushEmptyNode();
55
56 MCNAPI void push_back(
57 ::Json::Value& value,
58 ::SemVersion const& formatVersion,
59 ::MinEngineVersion const& minEngineVersion,
60 ::std::string const& fileName
61 );
62
63 MCNAPI ~JsonValueHierarchy();
64#endif
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70#ifdef LL_PLAT_C
71 MCNAPI void* $ctor(::JsonValueHierarchy const&);
72#endif
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78#ifdef LL_PLAT_C
79 MCNAPI void $dtor();
80#endif
81 // NOLINTEND
82};
Definition JsonValueHierarchyNode.h:12
Definition Value.h:16
Definition MinEngineVersion.h:10
Definition SemVersion.h:15
Definition Alias.h:14