LeviLamina
Loading...
Searching...
No Matches
CerealSchemaDeprecate.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/CerealSchemaUpgrade.h"
7
8// auto generated forward declare list
9// clang-format off
10class SemVersion;
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 1
30 virtual bool previousSchema(::rapidjson::GenericValue<
31 ::rapidjson::UTF8<char>,
32 ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>> const&) const /*override*/;
33
34 // vIndex: 2
35 virtual void upgradeToNext(
36 ::rapidjson::GenericDocument<
37 ::rapidjson::UTF8<char>,
38 ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>,
39 ::rapidjson::CrtAllocator>& document,
40 ::SemVersion const& documentOriginalVersion
41 ) const /*override*/;
42
43 // vIndex: 0
44 virtual ~CerealSchemaDeprecate() /*override*/ = default;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
51 ::SemVersion deprecateVersion,
52 ::std::string const& schemaKey,
53 ::std::string const& jsonMemberName
54 );
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void*
61 $ctor(::SemVersion deprecateVersion, ::std::string const& schemaKey, ::std::string const& jsonMemberName);
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCFOLD bool $previousSchema(::rapidjson::GenericValue<
74 ::rapidjson::UTF8<char>,
75 ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>> const&) const;
76
77 MCAPI void $upgradeToNext(
78 ::rapidjson::GenericDocument<
79 ::rapidjson::UTF8<char>,
80 ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>,
81 ::rapidjson::CrtAllocator>& document,
82 ::SemVersion const& documentOriginalVersion
83 ) const;
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCAPI static void** $vftable();
90 // NOLINTEND
91};
Definition CerealSchemaDeprecate.h:13
Definition CerealSchemaUpgrade.h:10
Definition SemVersion.h:15
Definition Alias.h:14