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, 456, ::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 // NOLINTEND
55
56public:
57 // prevent constructor by default
58 SchemaDescription();
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCAPI SchemaDescription(::cereal::SchemaDescription&&);
64
65 MCAPI SchemaDescription(::cereal::SchemaDescription const&);
66
67 MCAPI ::cereal::SchemaDescription& operator=(::cereal::SchemaDescription&&);
68
69 MCAPI ::cereal::SchemaDescription& operator=(::cereal::SchemaDescription const&);
70
71 MCAPI ~SchemaDescription();
72 // NOLINTEND
73
74public:
75 // static functions
76 // NOLINTBEGIN
77 MCAPI static void bindTypes(::cereal::ReflectionCtx& ctx);
78 // NOLINTEND
79
80public:
81 // constructor thunks
82 // NOLINTBEGIN
83 MCAPI void* $ctor(::cereal::SchemaDescription&&);
84
85 MCAPI void* $ctor(::cereal::SchemaDescription const&);
86 // NOLINTEND
87
88public:
89 // destructor thunk
90 // NOLINTBEGIN
91 MCFOLD void $dtor();
92 // NOLINTEND
93};
94
95} // namespace cereal
Definition DynamicValue.h:10
Definition ReflectionCtx.h:11
Definition SchemaDescription.h:21
Definition ConstraintDescription.h:7
Definition EnumValue.h:12
Definition Member.h:11
Definition SchemaInfo.h:10
Definition ctx.h:5