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(
31 ::rapidjson::
32 GenericValue<::rapidjson::UTF8<char>, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>> const&
33 ) const /*override*/;
34
35 // vIndex: 2
36 virtual void upgradeToNext(
37 ::rapidjson::GenericDocument<
38 ::rapidjson::UTF8<char>,
39 ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>,
40 ::rapidjson::CrtAllocator>& document,
41 ::SemVersion const& documentOriginalVersion
42 ) const /*override*/;
43
44 // vIndex: 0
45 virtual ~CerealSchemaDeprecate() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
52 ::SemVersion deprecateVersion,
53 ::std::string const& schemaKey,
54 ::std::string const& jsonMemberName
55 );
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCNAPI void*
62 $ctor(::SemVersion deprecateVersion, ::std::string const& schemaKey, ::std::string const& jsonMemberName);
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCNAPI bool $previousSchema(
69 ::rapidjson::
70 GenericValue<::rapidjson::UTF8<char>, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>> const&
71 ) const;
72
73 MCNAPI void $upgradeToNext(
74 ::rapidjson::GenericDocument<
75 ::rapidjson::UTF8<char>,
76 ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>,
77 ::rapidjson::CrtAllocator>& document,
78 ::SemVersion const& documentOriginalVersion
79 ) const;
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition CerealSchemaDeprecate.h:13
static MCAPI void ** $vftable()
MCAPI void * $ctor(::SemVersion deprecateVersion, ::std::string const &schemaKey, ::std::string const &jsonMemberName)
MCAPI void $upgradeToNext(::rapidjson::GenericDocument< ::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator >, ::rapidjson::CrtAllocator > &document, ::SemVersion const &documentOriginalVersion) const
MCAPI CerealSchemaDeprecate(::SemVersion deprecateVersion, ::std::string const &schemaKey, ::std::string const &jsonMemberName)
MCAPI bool $previousSchema(::rapidjson::GenericValue<::rapidjson::UTF8< char >, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator > > const &) const
Definition CerealSchemaUpgrade.h:10
Definition SemVersion.h:15
Definition Alias.h:14