LeviLamina
Loading...
Searching...
No Matches
JSONSchemaDef.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/ext/json_schema/JSONSchemaBody.h"
7#include "mc/deps/cereal/ext/json_schema/JSONSchemaInfo.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cereal { struct ReflectionCtx; }
12namespace cereal { struct SchemaDescription; }
13namespace cereal::ext::internal { struct OutRefsMap; }
14namespace cereal::internal { struct SchemaInfo; }
15// clang-format on
16
17namespace cereal::ext::internal {
18
20public:
21 // JSONSchemaDef inner types define
22 using DefsMap = ::std::unordered_map<::std::string, ::cereal::ext::internal::JSONSchemaDef>;
23
24public:
25 // prevent constructor by default
26 JSONSchemaDef();
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI explicit JSONSchemaDef(::cereal::internal::SchemaInfo const& info);
32
33 MCAPI JSONSchemaDef(::cereal::SchemaDescription const& schemaInfo, ::cereal::ext::internal::OutRefsMap& outRefs);
34
35 MCAPI void normalizeRefs(
37 ::std::unordered_map<::std::string, ::cereal::ext::internal::JSONSchemaDef>& defsMap
38 );
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(::cereal::internal::SchemaInfo const& info);
51
52 MCAPI void* $ctor(::cereal::SchemaDescription const& schemaInfo, ::cereal::ext::internal::OutRefsMap& outRefs);
53 // NOLINTEND
54};
55
56} // namespace cereal::ext::internal
Definition ReflectionCtx.h:11
Definition SchemaDescription.h:21
Definition JSONSchemaBody.h:19
Definition JSONSchemaInfo.h:7
Definition OutRefsMap.h:7
Definition SchemaInfo.h:10
Definition ctx.h:5