Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SchemaDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/schema/ConstraintDescription.h"
7#include "mc/deps/cereal/schema/ReflectedType.h"
8#include "mc/deps/cereal/schema/SchemaInfo.h"
9#include "mc/deps/cereal/schema/SerializationTraits.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace cereal { class DynamicValue; }
14namespace cereal { struct ReflectionCtx; }
15namespace cereal::internal { struct EnumValue; }
16namespace cereal::internal { struct Member; }
17// clang-format on
18
19namespace cereal {
20
21struct SchemaDescription : public ::cereal::internal::SchemaInfo {
22public:
23 // SchemaDescription inner types define
24 using CerealProperties = ::std::map<::std::string, ::cereal::DynamicValue>;
25
26 using ConstraintDescription = ::cereal::internal::ConstraintDescription;
27
28 using EnumValue = ::cereal::internal::EnumValue;
29
30 using Member = ::cereal::internal::Member;
31
32 using ReflectedType = ::cereal::internal::ReflectedType;
33
34 using SchemaInfo = ::cereal::internal::SchemaInfo;
35
36public:
37 // member variables
38 // NOLINTBEGIN
39 ::ll::TypedStorage<8, 504, ::std::optional<::cereal::internal::ConstraintDescription>> mConstraint;
40 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::cereal::internal::EnumValue>>> mEnumValues;
41 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::cereal::SchemaDescription>>> mParents;
42 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::cereal::SchemaDescription>>> mSetters;
43 ::ll::TypedStorage<8, 24, ::std::optional<::std::map<::std::string, ::cereal::internal::Member>>> mMembers;
44 ::ll::TypedStorage<8, 24, ::std::optional<::std::map<::std::string, ::cereal::internal::Member>>> mPatternMembers;
45 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::cereal::SchemaDescription>> mValueType;
46 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::cereal::SchemaDescription>> mKeyType;
47 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::cereal::SchemaDescription>> mMappedType;
48 ::ll::TypedStorage<8, 24, ::std::optional<::std::map<::std::string, ::cereal::DynamicValue>>> mCerealProperties;
49 ::ll::TypedStorage<4, 8, ::std::optional<::cereal::internal::ReflectedType>> mUnderlyingType;
50 ::ll::TypedStorage<4, 8, ::std::optional<::cereal::internal::ReflectedType>> mControlValueType;
51 ::ll::TypedStorage<1, 2, ::std::optional<::cereal::SerializationTraits>> mSerializationTraits;
52 ::ll::TypedStorage<1, 2, ::std::optional<uchar>> mOrdinalIndex;
53 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mNonPublicFlag;
54 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mSetterFunction;
55 ::ll::TypedStorage<1, 1, bool> mIsDefaultSetter;
56 ::ll::TypedStorage<1, 1, bool> mIsOptional;
57 // NOLINTEND
58
59public:
60 // prevent constructor by default
61 SchemaDescription();
62
63public:
64 // member functions
65 // NOLINTBEGIN
67
69
70 MCNAPI ::cereal::SchemaDescription& operator=(::cereal::SchemaDescription&&);
71
72 MCNAPI ::cereal::SchemaDescription& operator=(::cereal::SchemaDescription const&);
73
75 // NOLINTEND
76
77public:
78 // static functions
79 // NOLINTBEGIN
81 // NOLINTEND
82
83public:
84 // constructor thunks
85 // NOLINTBEGIN
87
88 MCNAPI void* $ctor(::cereal::SchemaDescription const&);
89 // NOLINTEND
90
91public:
92 // destructor thunk
93 // NOLINTBEGIN
94 MCNAPI void $dtor();
95 // NOLINTEND
96};
97
98} // namespace cereal
Definition DynamicValue.h:14
Definition ReflectionCtx.h:11
Definition SchemaDescription.h:21
MCAPI void * $ctor(::cereal::SchemaDescription const &)
MCAPI SchemaDescription(::cereal::SchemaDescription const &)
MCAPI::cereal::SchemaDescription & operator=(::cereal::SchemaDescription &&)
static MCAPI void bindTypes(::cereal::ReflectionCtx &ctx)
MCAPI::cereal::SchemaDescription & operator=(::cereal::SchemaDescription const &)
MCAPI SchemaDescription(::cereal::SchemaDescription &&)
MCAPI void * $ctor(::cereal::SchemaDescription &&)
Definition ConstraintDescription.h:7
Definition EnumValue.h:12
Definition Member.h:11
Definition SchemaInfo.h:10
Definition ctx.h:5