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
10class CerealSchemaUpgrade {
11public:
12 // member variables
13 // NOLINTBEGIN
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 CerealSchemaUpgrade& operator=(CerealSchemaUpgrade const&);
23 CerealSchemaUpgrade(CerealSchemaUpgrade const&);
24 CerealSchemaUpgrade();
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~CerealSchemaUpgrade();
30
31 virtual bool previousSchema(
32 ::rapidjson::
33 GenericValue<::rapidjson::UTF8<char>, ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>> const&
34 ) const = 0;
35
36 virtual void upgradeToNext(
37 ::rapidjson::GenericDocument<
38 ::rapidjson::UTF8<char>,
39 ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>,
40 ::rapidjson::CrtAllocator>&,
41 ::SemVersion const&
42 ) const;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
49 ::std::string_view fileType,
50 ::SemVersion targetVersion,
51 ::std::string const& schemaKey,
52 ::std::string const& jsonMemberName
53 );
54
56 ::rapidjson::GenericDocument<
57 ::rapidjson::UTF8<char>,
58 ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>,
59 ::rapidjson::CrtAllocator>& document,
60 ::SemVersion const& documentOriginalVersion
61 ) const;
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCNAPI void* $ctor(
68 ::std::string_view fileType,
69 ::SemVersion targetVersion,
70 ::std::string const& schemaKey,
71 ::std::string const& jsonMemberName
72 );
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78 MCNAPI void $dtor();
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCNAPI void $upgradeToNext(
85 ::rapidjson::GenericDocument<
86 ::rapidjson::UTF8<char>,
87 ::rapidjson::MemoryPoolAllocator<::rapidjson::CrtAllocator>,
88 ::rapidjson::CrtAllocator>&,
89 ::SemVersion const&
90 ) const;
91
92
93 // NOLINTEND
94
95public:
96 // vftables
97 // NOLINTBEGIN
98 MCNAPI static void** $vftable();
99 // NOLINTEND
100};
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:15
Definition Alias.h:14