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