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& addChildProperty(::JsonValidator::Property const& prop);
44
45 MCNAPI ::JsonValidator::Property&
47
48 MCNAPI ::JsonValidator::Property& operator[](::std::string const& propName);
49
50 MCNAPI ~Property();
51 // NOLINTEND
52
53 public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCNAPI void* $ctor(::JsonValidator::Property const&);
57 // NOLINTEND
58
59 public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCNAPI void $dtor();
63 // NOLINTEND
64 };
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCNAPI static bool validate(
70 ::I18n& loc,
71 ::JsonValidator::Property const& rootProp,
72 ::Json::Value const& rootData,
73 ::std::vector<::std::string>* errors
74 );
75 // NOLINTEND
76};
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 &)
MCAPI::JsonValidator::Property & addChildProperty(::JsonValidator::Property const &prop)
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