Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
JsonValidator.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class I18n;
8namespace Json { class Value; }
9// clang-format on
10
12public:
13 // JsonValidator inner types declare
14 // clang-format off
15 class Property;
16 // clang-format on
17
18 // JsonValidator inner types define
19 class Property {
20 public:
21 // member variables
22 // NOLINTBEGIN
31 // NOLINTEND
32
33 public:
34 // prevent constructor by default
35 Property& operator=(Property const&);
36 Property();
37
38 public:
39 // member functions
40 // NOLINTBEGIN
42
43 MCNAPI ::JsonValidator::Property&
45
46 MCNAPI ::JsonValidator::Property& operator[](::std::string const& propName);
47
48 MCNAPI ~Property();
49 // NOLINTEND
50
51 public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCNAPI void* $ctor(::JsonValidator::Property const&);
55 // NOLINTEND
56
57 public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCNAPI void $dtor();
61 // NOLINTEND
62 };
63
64public:
65 // static functions
66 // NOLINTBEGIN
67 MCNAPI static bool validate(
68 ::I18n& loc,
69 ::JsonValidator::Property const& rootProp,
70 ::Json::Value const& rootData,
71 ::std::vector<::std::string>* errors
72 );
73 // NOLINTEND
74};
Definition I18n.h:19
Definition JsonValidator.h:19
MCAPI::JsonValidator::Property & operator[](::std::string const &propName)
MCAPI::JsonValidator::Property & addConditionalProperty(::Json::Value const &value, ::JsonValidator::Property const &prop)
MCAPI Property(::JsonValidator::Property const &)
MCAPI void * $ctor(::JsonValidator::Property const &)
Definition JsonValidator.h:11
static MCAPI bool validate(::I18n &loc, ::JsonValidator::Property const &rootProp, ::Json::Value const &rootData, ::std::vector<::std::string > *errors)
Definition Value.h:16
Definition Alias.h:14