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
11
namespace
cereal {
struct
ReflectionCtx
; }
12
namespace
cereal {
struct
SchemaDescription
; }
13
namespace
cereal::ext::internal {
struct
OutRefsMap
; }
14
namespace
cereal::internal {
struct
SchemaInfo
; }
15
// clang-format on
16
17
namespace
cereal::ext::internal {
18
19
struct
JSONSchemaDef :
public
::cereal::ext::internal::JSONSchemaInfo
,
public
::cereal::ext::internal::JSONSchemaBody
{
20
public
:
21
// JSONSchemaDef inner types define
22
using
DefsMap = ::std::unordered_map<::std::string, ::cereal::ext::internal::JSONSchemaDef>;
23
24
public
:
25
// prevent constructor by default
26
JSONSchemaDef();
27
28
public
:
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(
36
::cereal::ext::internal::OutRefsMap
& outRefs,
37
::std::unordered_map<::std::string, ::cereal::ext::internal::JSONSchemaDef>& defsMap
38
);
39
// NOLINTEND
40
41
public
:
42
// static functions
43
// NOLINTBEGIN
44
MCAPI
static
void
bindType(
::cereal::ReflectionCtx
&
ctx
);
45
// NOLINTEND
46
47
public
:
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
cereal::ReflectionCtx
Definition
ReflectionCtx.h:11
cereal::SchemaDescription
Definition
SchemaDescription.h:21
cereal::ext::internal::JSONSchemaBody
Definition
JSONSchemaBody.h:19
cereal::ext::internal::JSONSchemaInfo
Definition
JSONSchemaInfo.h:7
cereal::ext::internal::OutRefsMap
Definition
OutRefsMap.h:7
cereal::internal::SchemaInfo
Definition
SchemaInfo.h:10
ctx
Definition
ctx.h:5
src
mc
deps
cereal
ext
json_schema
JSONSchemaDef.h
Generated on
for LeviLamina by
1.16.1