securiti-consent-sdk 1.136.0-7rc → 1.136.0-8rc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/nitrogen/generated/ios/NitroSecuritiConsentSdk-Swift-Cxx-Bridge.cpp +10 -10
- package/nitrogen/generated/ios/NitroSecuritiConsentSdk-Swift-Cxx-Bridge.hpp +142 -82
- package/nitrogen/generated/ios/swift/AppPermission.swift +12 -6
- package/nitrogen/generated/ios/swift/BannerConfig.swift +46 -23
- package/nitrogen/generated/ios/swift/CmpSDKOptions.swift +8 -4
- package/nitrogen/generated/ios/swift/CustomColors.swift +16 -8
- package/nitrogen/generated/ios/swift/Func_void_std__optional_BannerConfig_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_SettingsPrompt_.swift +2 -1
- package/nitrogen/generated/ios/swift/PostConsentsRequest.swift +4 -2
- package/nitrogen/generated/ios/swift/Purpose.swift +14 -7
- package/nitrogen/generated/ios/swift/SDK.swift +14 -7
- package/nitrogen/generated/ios/swift/SettingsPrompt.swift +10 -5
- package/package.json +1 -1
|
@@ -66,9 +66,15 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
66
66
|
* Specialized version of `std::optional<std::string>`.
|
|
67
67
|
*/
|
|
68
68
|
using std__optional_std__string_ = std::optional<std::string>;
|
|
69
|
-
inline std::optional<std::string> create_std__optional_std__string_(const std::string& value) {
|
|
69
|
+
inline std::optional<std::string> create_std__optional_std__string_(const std::string& value) noexcept {
|
|
70
70
|
return std::optional<std::string>(value);
|
|
71
71
|
}
|
|
72
|
+
inline bool has_value_std__optional_std__string_(const std::optional<std::string>& optional) noexcept {
|
|
73
|
+
return optional.has_value();
|
|
74
|
+
}
|
|
75
|
+
inline std::string get_std__optional_std__string_(const std::optional<std::string>& optional) noexcept {
|
|
76
|
+
return *optional;
|
|
77
|
+
}
|
|
72
78
|
|
|
73
79
|
// pragma MARK: std::function<void(bool /* isReady */)>
|
|
74
80
|
/**
|
|
@@ -81,14 +87,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
81
87
|
class Func_void_bool_Wrapper final {
|
|
82
88
|
public:
|
|
83
89
|
explicit Func_void_bool_Wrapper(std::function<void(bool /* isReady */)>&& func): _function(std::make_unique<std::function<void(bool /* isReady */)>>(std::move(func))) {}
|
|
84
|
-
inline void call(bool isReady) const {
|
|
90
|
+
inline void call(bool isReady) const noexcept {
|
|
85
91
|
_function->operator()(isReady);
|
|
86
92
|
}
|
|
87
93
|
private:
|
|
88
94
|
std::unique_ptr<std::function<void(bool /* isReady */)>> _function;
|
|
89
95
|
} SWIFT_NONCOPYABLE;
|
|
90
|
-
Func_void_bool create_Func_void_bool(void* _Nonnull swiftClosureWrapper);
|
|
91
|
-
inline Func_void_bool_Wrapper wrap_Func_void_bool(Func_void_bool value) {
|
|
96
|
+
Func_void_bool create_Func_void_bool(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
97
|
+
inline Func_void_bool_Wrapper wrap_Func_void_bool(Func_void_bool value) noexcept {
|
|
92
98
|
return Func_void_bool_Wrapper(std::move(value));
|
|
93
99
|
}
|
|
94
100
|
|
|
@@ -97,10 +103,10 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
97
103
|
* Specialized version of `std::shared_ptr<Promise<std::string>>`.
|
|
98
104
|
*/
|
|
99
105
|
using std__shared_ptr_Promise_std__string__ = std::shared_ptr<Promise<std::string>>;
|
|
100
|
-
inline std::shared_ptr<Promise<std::string>> create_std__shared_ptr_Promise_std__string__() {
|
|
106
|
+
inline std::shared_ptr<Promise<std::string>> create_std__shared_ptr_Promise_std__string__() noexcept {
|
|
101
107
|
return Promise<std::string>::create();
|
|
102
108
|
}
|
|
103
|
-
inline PromiseHolder<std::string> wrap_std__shared_ptr_Promise_std__string__(std::shared_ptr<Promise<std::string>> promise) {
|
|
109
|
+
inline PromiseHolder<std::string> wrap_std__shared_ptr_Promise_std__string__(std::shared_ptr<Promise<std::string>> promise) noexcept {
|
|
104
110
|
return PromiseHolder<std::string>(std::move(promise));
|
|
105
111
|
}
|
|
106
112
|
|
|
@@ -115,14 +121,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
115
121
|
class Func_void_std__string_Wrapper final {
|
|
116
122
|
public:
|
|
117
123
|
explicit Func_void_std__string_Wrapper(std::function<void(const std::string& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::string& /* result */)>>(std::move(func))) {}
|
|
118
|
-
inline void call(std::string result) const {
|
|
124
|
+
inline void call(std::string result) const noexcept {
|
|
119
125
|
_function->operator()(result);
|
|
120
126
|
}
|
|
121
127
|
private:
|
|
122
128
|
std::unique_ptr<std::function<void(const std::string& /* result */)>> _function;
|
|
123
129
|
} SWIFT_NONCOPYABLE;
|
|
124
|
-
Func_void_std__string create_Func_void_std__string(void* _Nonnull swiftClosureWrapper);
|
|
125
|
-
inline Func_void_std__string_Wrapper wrap_Func_void_std__string(Func_void_std__string value) {
|
|
130
|
+
Func_void_std__string create_Func_void_std__string(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
131
|
+
inline Func_void_std__string_Wrapper wrap_Func_void_std__string(Func_void_std__string value) noexcept {
|
|
126
132
|
return Func_void_std__string_Wrapper(std::move(value));
|
|
127
133
|
}
|
|
128
134
|
|
|
@@ -137,14 +143,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
137
143
|
class Func_void_std__exception_ptr_Wrapper final {
|
|
138
144
|
public:
|
|
139
145
|
explicit Func_void_std__exception_ptr_Wrapper(std::function<void(const std::exception_ptr& /* error */)>&& func): _function(std::make_unique<std::function<void(const std::exception_ptr& /* error */)>>(std::move(func))) {}
|
|
140
|
-
inline void call(std::exception_ptr error) const {
|
|
146
|
+
inline void call(std::exception_ptr error) const noexcept {
|
|
141
147
|
_function->operator()(error);
|
|
142
148
|
}
|
|
143
149
|
private:
|
|
144
150
|
std::unique_ptr<std::function<void(const std::exception_ptr& /* error */)>> _function;
|
|
145
151
|
} SWIFT_NONCOPYABLE;
|
|
146
|
-
Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* _Nonnull swiftClosureWrapper);
|
|
147
|
-
inline Func_void_std__exception_ptr_Wrapper wrap_Func_void_std__exception_ptr(Func_void_std__exception_ptr value) {
|
|
152
|
+
Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
153
|
+
inline Func_void_std__exception_ptr_Wrapper wrap_Func_void_std__exception_ptr(Func_void_std__exception_ptr value) noexcept {
|
|
148
154
|
return Func_void_std__exception_ptr_Wrapper(std::move(value));
|
|
149
155
|
}
|
|
150
156
|
|
|
@@ -153,25 +159,37 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
153
159
|
* Specialized version of `std::optional<double>`.
|
|
154
160
|
*/
|
|
155
161
|
using std__optional_double_ = std::optional<double>;
|
|
156
|
-
inline std::optional<double> create_std__optional_double_(const double& value) {
|
|
162
|
+
inline std::optional<double> create_std__optional_double_(const double& value) noexcept {
|
|
157
163
|
return std::optional<double>(value);
|
|
158
164
|
}
|
|
165
|
+
inline bool has_value_std__optional_double_(const std::optional<double>& optional) noexcept {
|
|
166
|
+
return optional.has_value();
|
|
167
|
+
}
|
|
168
|
+
inline double get_std__optional_double_(const std::optional<double>& optional) noexcept {
|
|
169
|
+
return *optional;
|
|
170
|
+
}
|
|
159
171
|
|
|
160
172
|
// pragma MARK: std::optional<bool>
|
|
161
173
|
/**
|
|
162
174
|
* Specialized version of `std::optional<bool>`.
|
|
163
175
|
*/
|
|
164
176
|
using std__optional_bool_ = std::optional<bool>;
|
|
165
|
-
inline std::optional<bool> create_std__optional_bool_(const bool& value) {
|
|
177
|
+
inline std::optional<bool> create_std__optional_bool_(const bool& value) noexcept {
|
|
166
178
|
return std::optional<bool>(value);
|
|
167
179
|
}
|
|
180
|
+
inline bool has_value_std__optional_bool_(const std::optional<bool>& optional) noexcept {
|
|
181
|
+
return optional.has_value();
|
|
182
|
+
}
|
|
183
|
+
inline bool get_std__optional_bool_(const std::optional<bool>& optional) noexcept {
|
|
184
|
+
return *optional;
|
|
185
|
+
}
|
|
168
186
|
|
|
169
187
|
// pragma MARK: std::vector<AppPermission>
|
|
170
188
|
/**
|
|
171
189
|
* Specialized version of `std::vector<AppPermission>`.
|
|
172
190
|
*/
|
|
173
191
|
using std__vector_AppPermission_ = std::vector<AppPermission>;
|
|
174
|
-
inline std::vector<AppPermission> create_std__vector_AppPermission_(size_t size) {
|
|
192
|
+
inline std::vector<AppPermission> create_std__vector_AppPermission_(size_t size) noexcept {
|
|
175
193
|
std::vector<AppPermission> vector;
|
|
176
194
|
vector.reserve(size);
|
|
177
195
|
return vector;
|
|
@@ -182,10 +200,10 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
182
200
|
* Specialized version of `std::shared_ptr<Promise<std::vector<AppPermission>>>`.
|
|
183
201
|
*/
|
|
184
202
|
using std__shared_ptr_Promise_std__vector_AppPermission___ = std::shared_ptr<Promise<std::vector<AppPermission>>>;
|
|
185
|
-
inline std::shared_ptr<Promise<std::vector<AppPermission>>> create_std__shared_ptr_Promise_std__vector_AppPermission___() {
|
|
203
|
+
inline std::shared_ptr<Promise<std::vector<AppPermission>>> create_std__shared_ptr_Promise_std__vector_AppPermission___() noexcept {
|
|
186
204
|
return Promise<std::vector<AppPermission>>::create();
|
|
187
205
|
}
|
|
188
|
-
inline PromiseHolder<std::vector<AppPermission>> wrap_std__shared_ptr_Promise_std__vector_AppPermission___(std::shared_ptr<Promise<std::vector<AppPermission>>> promise) {
|
|
206
|
+
inline PromiseHolder<std::vector<AppPermission>> wrap_std__shared_ptr_Promise_std__vector_AppPermission___(std::shared_ptr<Promise<std::vector<AppPermission>>> promise) noexcept {
|
|
189
207
|
return PromiseHolder<std::vector<AppPermission>>(std::move(promise));
|
|
190
208
|
}
|
|
191
209
|
|
|
@@ -200,14 +218,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
200
218
|
class Func_void_std__vector_AppPermission__Wrapper final {
|
|
201
219
|
public:
|
|
202
220
|
explicit Func_void_std__vector_AppPermission__Wrapper(std::function<void(const std::vector<AppPermission>& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::vector<AppPermission>& /* result */)>>(std::move(func))) {}
|
|
203
|
-
inline void call(std::vector<AppPermission> result) const {
|
|
221
|
+
inline void call(std::vector<AppPermission> result) const noexcept {
|
|
204
222
|
_function->operator()(result);
|
|
205
223
|
}
|
|
206
224
|
private:
|
|
207
225
|
std::unique_ptr<std::function<void(const std::vector<AppPermission>& /* result */)>> _function;
|
|
208
226
|
} SWIFT_NONCOPYABLE;
|
|
209
|
-
Func_void_std__vector_AppPermission_ create_Func_void_std__vector_AppPermission_(void* _Nonnull swiftClosureWrapper);
|
|
210
|
-
inline Func_void_std__vector_AppPermission__Wrapper wrap_Func_void_std__vector_AppPermission_(Func_void_std__vector_AppPermission_ value) {
|
|
227
|
+
Func_void_std__vector_AppPermission_ create_Func_void_std__vector_AppPermission_(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
228
|
+
inline Func_void_std__vector_AppPermission__Wrapper wrap_Func_void_std__vector_AppPermission_(Func_void_std__vector_AppPermission_ value) noexcept {
|
|
211
229
|
return Func_void_std__vector_AppPermission__Wrapper(std::move(value));
|
|
212
230
|
}
|
|
213
231
|
|
|
@@ -216,7 +234,7 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
216
234
|
* Specialized version of `std::vector<std::string>`.
|
|
217
235
|
*/
|
|
218
236
|
using std__vector_std__string_ = std::vector<std::string>;
|
|
219
|
-
inline std::vector<std::string> create_std__vector_std__string_(size_t size) {
|
|
237
|
+
inline std::vector<std::string> create_std__vector_std__string_(size_t size) noexcept {
|
|
220
238
|
std::vector<std::string> vector;
|
|
221
239
|
vector.reserve(size);
|
|
222
240
|
return vector;
|
|
@@ -227,16 +245,22 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
227
245
|
* Specialized version of `std::optional<std::vector<std::string>>`.
|
|
228
246
|
*/
|
|
229
247
|
using std__optional_std__vector_std__string__ = std::optional<std::vector<std::string>>;
|
|
230
|
-
inline std::optional<std::vector<std::string>> create_std__optional_std__vector_std__string__(const std::vector<std::string>& value) {
|
|
248
|
+
inline std::optional<std::vector<std::string>> create_std__optional_std__vector_std__string__(const std::vector<std::string>& value) noexcept {
|
|
231
249
|
return std::optional<std::vector<std::string>>(value);
|
|
232
250
|
}
|
|
251
|
+
inline bool has_value_std__optional_std__vector_std__string__(const std::optional<std::vector<std::string>>& optional) noexcept {
|
|
252
|
+
return optional.has_value();
|
|
253
|
+
}
|
|
254
|
+
inline std::vector<std::string> get_std__optional_std__vector_std__string__(const std::optional<std::vector<std::string>>& optional) noexcept {
|
|
255
|
+
return *optional;
|
|
256
|
+
}
|
|
233
257
|
|
|
234
258
|
// pragma MARK: std::vector<SDK>
|
|
235
259
|
/**
|
|
236
260
|
* Specialized version of `std::vector<SDK>`.
|
|
237
261
|
*/
|
|
238
262
|
using std__vector_SDK_ = std::vector<SDK>;
|
|
239
|
-
inline std::vector<SDK> create_std__vector_SDK_(size_t size) {
|
|
263
|
+
inline std::vector<SDK> create_std__vector_SDK_(size_t size) noexcept {
|
|
240
264
|
std::vector<SDK> vector;
|
|
241
265
|
vector.reserve(size);
|
|
242
266
|
return vector;
|
|
@@ -247,16 +271,22 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
247
271
|
* Specialized version of `std::optional<std::vector<SDK>>`.
|
|
248
272
|
*/
|
|
249
273
|
using std__optional_std__vector_SDK__ = std::optional<std::vector<SDK>>;
|
|
250
|
-
inline std::optional<std::vector<SDK>> create_std__optional_std__vector_SDK__(const std::vector<SDK>& value) {
|
|
274
|
+
inline std::optional<std::vector<SDK>> create_std__optional_std__vector_SDK__(const std::vector<SDK>& value) noexcept {
|
|
251
275
|
return std::optional<std::vector<SDK>>(value);
|
|
252
276
|
}
|
|
277
|
+
inline bool has_value_std__optional_std__vector_SDK__(const std::optional<std::vector<SDK>>& optional) noexcept {
|
|
278
|
+
return optional.has_value();
|
|
279
|
+
}
|
|
280
|
+
inline std::vector<SDK> get_std__optional_std__vector_SDK__(const std::optional<std::vector<SDK>>& optional) noexcept {
|
|
281
|
+
return *optional;
|
|
282
|
+
}
|
|
253
283
|
|
|
254
284
|
// pragma MARK: std::vector<Purpose>
|
|
255
285
|
/**
|
|
256
286
|
* Specialized version of `std::vector<Purpose>`.
|
|
257
287
|
*/
|
|
258
288
|
using std__vector_Purpose_ = std::vector<Purpose>;
|
|
259
|
-
inline std::vector<Purpose> create_std__vector_Purpose_(size_t size) {
|
|
289
|
+
inline std::vector<Purpose> create_std__vector_Purpose_(size_t size) noexcept {
|
|
260
290
|
std::vector<Purpose> vector;
|
|
261
291
|
vector.reserve(size);
|
|
262
292
|
return vector;
|
|
@@ -267,10 +297,10 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
267
297
|
* Specialized version of `std::shared_ptr<Promise<std::vector<Purpose>>>`.
|
|
268
298
|
*/
|
|
269
299
|
using std__shared_ptr_Promise_std__vector_Purpose___ = std::shared_ptr<Promise<std::vector<Purpose>>>;
|
|
270
|
-
inline std::shared_ptr<Promise<std::vector<Purpose>>> create_std__shared_ptr_Promise_std__vector_Purpose___() {
|
|
300
|
+
inline std::shared_ptr<Promise<std::vector<Purpose>>> create_std__shared_ptr_Promise_std__vector_Purpose___() noexcept {
|
|
271
301
|
return Promise<std::vector<Purpose>>::create();
|
|
272
302
|
}
|
|
273
|
-
inline PromiseHolder<std::vector<Purpose>> wrap_std__shared_ptr_Promise_std__vector_Purpose___(std::shared_ptr<Promise<std::vector<Purpose>>> promise) {
|
|
303
|
+
inline PromiseHolder<std::vector<Purpose>> wrap_std__shared_ptr_Promise_std__vector_Purpose___(std::shared_ptr<Promise<std::vector<Purpose>>> promise) noexcept {
|
|
274
304
|
return PromiseHolder<std::vector<Purpose>>(std::move(promise));
|
|
275
305
|
}
|
|
276
306
|
|
|
@@ -285,14 +315,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
285
315
|
class Func_void_std__vector_Purpose__Wrapper final {
|
|
286
316
|
public:
|
|
287
317
|
explicit Func_void_std__vector_Purpose__Wrapper(std::function<void(const std::vector<Purpose>& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::vector<Purpose>& /* result */)>>(std::move(func))) {}
|
|
288
|
-
inline void call(std::vector<Purpose> result) const {
|
|
318
|
+
inline void call(std::vector<Purpose> result) const noexcept {
|
|
289
319
|
_function->operator()(result);
|
|
290
320
|
}
|
|
291
321
|
private:
|
|
292
322
|
std::unique_ptr<std::function<void(const std::vector<Purpose>& /* result */)>> _function;
|
|
293
323
|
} SWIFT_NONCOPYABLE;
|
|
294
|
-
Func_void_std__vector_Purpose_ create_Func_void_std__vector_Purpose_(void* _Nonnull swiftClosureWrapper);
|
|
295
|
-
inline Func_void_std__vector_Purpose__Wrapper wrap_Func_void_std__vector_Purpose_(Func_void_std__vector_Purpose_ value) {
|
|
324
|
+
Func_void_std__vector_Purpose_ create_Func_void_std__vector_Purpose_(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
325
|
+
inline Func_void_std__vector_Purpose__Wrapper wrap_Func_void_std__vector_Purpose_(Func_void_std__vector_Purpose_ value) noexcept {
|
|
296
326
|
return Func_void_std__vector_Purpose__Wrapper(std::move(value));
|
|
297
327
|
}
|
|
298
328
|
|
|
@@ -301,10 +331,10 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
301
331
|
* Specialized version of `std::shared_ptr<Promise<std::vector<SDK>>>`.
|
|
302
332
|
*/
|
|
303
333
|
using std__shared_ptr_Promise_std__vector_SDK___ = std::shared_ptr<Promise<std::vector<SDK>>>;
|
|
304
|
-
inline std::shared_ptr<Promise<std::vector<SDK>>> create_std__shared_ptr_Promise_std__vector_SDK___() {
|
|
334
|
+
inline std::shared_ptr<Promise<std::vector<SDK>>> create_std__shared_ptr_Promise_std__vector_SDK___() noexcept {
|
|
305
335
|
return Promise<std::vector<SDK>>::create();
|
|
306
336
|
}
|
|
307
|
-
inline PromiseHolder<std::vector<SDK>> wrap_std__shared_ptr_Promise_std__vector_SDK___(std::shared_ptr<Promise<std::vector<SDK>>> promise) {
|
|
337
|
+
inline PromiseHolder<std::vector<SDK>> wrap_std__shared_ptr_Promise_std__vector_SDK___(std::shared_ptr<Promise<std::vector<SDK>>> promise) noexcept {
|
|
308
338
|
return PromiseHolder<std::vector<SDK>>(std::move(promise));
|
|
309
339
|
}
|
|
310
340
|
|
|
@@ -319,14 +349,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
319
349
|
class Func_void_std__vector_SDK__Wrapper final {
|
|
320
350
|
public:
|
|
321
351
|
explicit Func_void_std__vector_SDK__Wrapper(std::function<void(const std::vector<SDK>& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::vector<SDK>& /* result */)>>(std::move(func))) {}
|
|
322
|
-
inline void call(std::vector<SDK> result) const {
|
|
352
|
+
inline void call(std::vector<SDK> result) const noexcept {
|
|
323
353
|
_function->operator()(result);
|
|
324
354
|
}
|
|
325
355
|
private:
|
|
326
356
|
std::unique_ptr<std::function<void(const std::vector<SDK>& /* result */)>> _function;
|
|
327
357
|
} SWIFT_NONCOPYABLE;
|
|
328
|
-
Func_void_std__vector_SDK_ create_Func_void_std__vector_SDK_(void* _Nonnull swiftClosureWrapper);
|
|
329
|
-
inline Func_void_std__vector_SDK__Wrapper wrap_Func_void_std__vector_SDK_(Func_void_std__vector_SDK_ value) {
|
|
358
|
+
Func_void_std__vector_SDK_ create_Func_void_std__vector_SDK_(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
359
|
+
inline Func_void_std__vector_SDK__Wrapper wrap_Func_void_std__vector_SDK_(Func_void_std__vector_SDK_ value) noexcept {
|
|
330
360
|
return Func_void_std__vector_SDK__Wrapper(std::move(value));
|
|
331
361
|
}
|
|
332
362
|
|
|
@@ -335,21 +365,27 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
335
365
|
* Specialized version of `std::optional<CustomColors>`.
|
|
336
366
|
*/
|
|
337
367
|
using std__optional_CustomColors_ = std::optional<CustomColors>;
|
|
338
|
-
inline std::optional<CustomColors> create_std__optional_CustomColors_(const CustomColors& value) {
|
|
368
|
+
inline std::optional<CustomColors> create_std__optional_CustomColors_(const CustomColors& value) noexcept {
|
|
339
369
|
return std::optional<CustomColors>(value);
|
|
340
370
|
}
|
|
371
|
+
inline bool has_value_std__optional_CustomColors_(const std::optional<CustomColors>& optional) noexcept {
|
|
372
|
+
return optional.has_value();
|
|
373
|
+
}
|
|
374
|
+
inline CustomColors get_std__optional_CustomColors_(const std::optional<CustomColors>& optional) noexcept {
|
|
375
|
+
return *optional;
|
|
376
|
+
}
|
|
341
377
|
|
|
342
378
|
// pragma MARK: std::unordered_map<std::string, std::string>
|
|
343
379
|
/**
|
|
344
380
|
* Specialized version of `std::unordered_map<std::string, std::string>`.
|
|
345
381
|
*/
|
|
346
382
|
using std__unordered_map_std__string__std__string_ = std::unordered_map<std::string, std::string>;
|
|
347
|
-
inline std::unordered_map<std::string, std::string> create_std__unordered_map_std__string__std__string_(size_t size) {
|
|
383
|
+
inline std::unordered_map<std::string, std::string> create_std__unordered_map_std__string__std__string_(size_t size) noexcept {
|
|
348
384
|
std::unordered_map<std::string, std::string> map;
|
|
349
385
|
map.reserve(size);
|
|
350
386
|
return map;
|
|
351
387
|
}
|
|
352
|
-
inline std::vector<std::string> get_std__unordered_map_std__string__std__string__keys(const std__unordered_map_std__string__std__string_& map) {
|
|
388
|
+
inline std::vector<std::string> get_std__unordered_map_std__string__std__string__keys(const std__unordered_map_std__string__std__string_& map) noexcept {
|
|
353
389
|
std::vector<std::string> keys;
|
|
354
390
|
keys.reserve(map.size());
|
|
355
391
|
for (const auto& entry : map) {
|
|
@@ -357,10 +393,10 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
357
393
|
}
|
|
358
394
|
return keys;
|
|
359
395
|
}
|
|
360
|
-
inline std::string get_std__unordered_map_std__string__std__string__value(const std__unordered_map_std__string__std__string_& map, const std::string& key) {
|
|
361
|
-
return map.
|
|
396
|
+
inline std::string get_std__unordered_map_std__string__std__string__value(const std__unordered_map_std__string__std__string_& map, const std::string& key) noexcept {
|
|
397
|
+
return map.find(key)->second;
|
|
362
398
|
}
|
|
363
|
-
inline void emplace_std__unordered_map_std__string__std__string_(std__unordered_map_std__string__std__string_& map, const std::string& key, const std::string& value) {
|
|
399
|
+
inline void emplace_std__unordered_map_std__string__std__string_(std__unordered_map_std__string__std__string_& map, const std::string& key, const std::string& value) noexcept {
|
|
364
400
|
map.emplace(key, value);
|
|
365
401
|
}
|
|
366
402
|
|
|
@@ -369,28 +405,40 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
369
405
|
* Specialized version of `std::optional<std::unordered_map<std::string, std::string>>`.
|
|
370
406
|
*/
|
|
371
407
|
using std__optional_std__unordered_map_std__string__std__string__ = std::optional<std::unordered_map<std::string, std::string>>;
|
|
372
|
-
inline std::optional<std::unordered_map<std::string, std::string>> create_std__optional_std__unordered_map_std__string__std__string__(const std::unordered_map<std::string, std::string>& value) {
|
|
408
|
+
inline std::optional<std::unordered_map<std::string, std::string>> create_std__optional_std__unordered_map_std__string__std__string__(const std::unordered_map<std::string, std::string>& value) noexcept {
|
|
373
409
|
return std::optional<std::unordered_map<std::string, std::string>>(value);
|
|
374
410
|
}
|
|
411
|
+
inline bool has_value_std__optional_std__unordered_map_std__string__std__string__(const std::optional<std::unordered_map<std::string, std::string>>& optional) noexcept {
|
|
412
|
+
return optional.has_value();
|
|
413
|
+
}
|
|
414
|
+
inline std::unordered_map<std::string, std::string> get_std__optional_std__unordered_map_std__string__std__string__(const std::optional<std::unordered_map<std::string, std::string>>& optional) noexcept {
|
|
415
|
+
return *optional;
|
|
416
|
+
}
|
|
375
417
|
|
|
376
418
|
// pragma MARK: std::optional<BannerConfig>
|
|
377
419
|
/**
|
|
378
420
|
* Specialized version of `std::optional<BannerConfig>`.
|
|
379
421
|
*/
|
|
380
422
|
using std__optional_BannerConfig_ = std::optional<BannerConfig>;
|
|
381
|
-
inline std::optional<BannerConfig> create_std__optional_BannerConfig_(const BannerConfig& value) {
|
|
423
|
+
inline std::optional<BannerConfig> create_std__optional_BannerConfig_(const BannerConfig& value) noexcept {
|
|
382
424
|
return std::optional<BannerConfig>(value);
|
|
383
425
|
}
|
|
426
|
+
inline bool has_value_std__optional_BannerConfig_(const std::optional<BannerConfig>& optional) noexcept {
|
|
427
|
+
return optional.has_value();
|
|
428
|
+
}
|
|
429
|
+
inline BannerConfig get_std__optional_BannerConfig_(const std::optional<BannerConfig>& optional) noexcept {
|
|
430
|
+
return *optional;
|
|
431
|
+
}
|
|
384
432
|
|
|
385
433
|
// pragma MARK: std::shared_ptr<Promise<std::optional<BannerConfig>>>
|
|
386
434
|
/**
|
|
387
435
|
* Specialized version of `std::shared_ptr<Promise<std::optional<BannerConfig>>>`.
|
|
388
436
|
*/
|
|
389
437
|
using std__shared_ptr_Promise_std__optional_BannerConfig___ = std::shared_ptr<Promise<std::optional<BannerConfig>>>;
|
|
390
|
-
inline std::shared_ptr<Promise<std::optional<BannerConfig>>> create_std__shared_ptr_Promise_std__optional_BannerConfig___() {
|
|
438
|
+
inline std::shared_ptr<Promise<std::optional<BannerConfig>>> create_std__shared_ptr_Promise_std__optional_BannerConfig___() noexcept {
|
|
391
439
|
return Promise<std::optional<BannerConfig>>::create();
|
|
392
440
|
}
|
|
393
|
-
inline PromiseHolder<std::optional<BannerConfig>> wrap_std__shared_ptr_Promise_std__optional_BannerConfig___(std::shared_ptr<Promise<std::optional<BannerConfig>>> promise) {
|
|
441
|
+
inline PromiseHolder<std::optional<BannerConfig>> wrap_std__shared_ptr_Promise_std__optional_BannerConfig___(std::shared_ptr<Promise<std::optional<BannerConfig>>> promise) noexcept {
|
|
394
442
|
return PromiseHolder<std::optional<BannerConfig>>(std::move(promise));
|
|
395
443
|
}
|
|
396
444
|
|
|
@@ -405,14 +453,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
405
453
|
class Func_void_std__optional_BannerConfig__Wrapper final {
|
|
406
454
|
public:
|
|
407
455
|
explicit Func_void_std__optional_BannerConfig__Wrapper(std::function<void(const std::optional<BannerConfig>& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::optional<BannerConfig>& /* result */)>>(std::move(func))) {}
|
|
408
|
-
inline void call(std::optional<BannerConfig> result) const {
|
|
456
|
+
inline void call(std::optional<BannerConfig> result) const noexcept {
|
|
409
457
|
_function->operator()(result);
|
|
410
458
|
}
|
|
411
459
|
private:
|
|
412
460
|
std::unique_ptr<std::function<void(const std::optional<BannerConfig>& /* result */)>> _function;
|
|
413
461
|
} SWIFT_NONCOPYABLE;
|
|
414
|
-
Func_void_std__optional_BannerConfig_ create_Func_void_std__optional_BannerConfig_(void* _Nonnull swiftClosureWrapper);
|
|
415
|
-
inline Func_void_std__optional_BannerConfig__Wrapper wrap_Func_void_std__optional_BannerConfig_(Func_void_std__optional_BannerConfig_ value) {
|
|
462
|
+
Func_void_std__optional_BannerConfig_ create_Func_void_std__optional_BannerConfig_(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
463
|
+
inline Func_void_std__optional_BannerConfig__Wrapper wrap_Func_void_std__optional_BannerConfig_(Func_void_std__optional_BannerConfig_ value) noexcept {
|
|
416
464
|
return Func_void_std__optional_BannerConfig__Wrapper(std::move(value));
|
|
417
465
|
}
|
|
418
466
|
|
|
@@ -421,28 +469,40 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
421
469
|
* Specialized version of `std::optional<CmpSDKOptions>`.
|
|
422
470
|
*/
|
|
423
471
|
using std__optional_CmpSDKOptions_ = std::optional<CmpSDKOptions>;
|
|
424
|
-
inline std::optional<CmpSDKOptions> create_std__optional_CmpSDKOptions_(const CmpSDKOptions& value) {
|
|
472
|
+
inline std::optional<CmpSDKOptions> create_std__optional_CmpSDKOptions_(const CmpSDKOptions& value) noexcept {
|
|
425
473
|
return std::optional<CmpSDKOptions>(value);
|
|
426
474
|
}
|
|
475
|
+
inline bool has_value_std__optional_CmpSDKOptions_(const std::optional<CmpSDKOptions>& optional) noexcept {
|
|
476
|
+
return optional.has_value();
|
|
477
|
+
}
|
|
478
|
+
inline CmpSDKOptions get_std__optional_CmpSDKOptions_(const std::optional<CmpSDKOptions>& optional) noexcept {
|
|
479
|
+
return *optional;
|
|
480
|
+
}
|
|
427
481
|
|
|
428
482
|
// pragma MARK: std::optional<SettingsPrompt>
|
|
429
483
|
/**
|
|
430
484
|
* Specialized version of `std::optional<SettingsPrompt>`.
|
|
431
485
|
*/
|
|
432
486
|
using std__optional_SettingsPrompt_ = std::optional<SettingsPrompt>;
|
|
433
|
-
inline std::optional<SettingsPrompt> create_std__optional_SettingsPrompt_(const SettingsPrompt& value) {
|
|
487
|
+
inline std::optional<SettingsPrompt> create_std__optional_SettingsPrompt_(const SettingsPrompt& value) noexcept {
|
|
434
488
|
return std::optional<SettingsPrompt>(value);
|
|
435
489
|
}
|
|
490
|
+
inline bool has_value_std__optional_SettingsPrompt_(const std::optional<SettingsPrompt>& optional) noexcept {
|
|
491
|
+
return optional.has_value();
|
|
492
|
+
}
|
|
493
|
+
inline SettingsPrompt get_std__optional_SettingsPrompt_(const std::optional<SettingsPrompt>& optional) noexcept {
|
|
494
|
+
return *optional;
|
|
495
|
+
}
|
|
436
496
|
|
|
437
497
|
// pragma MARK: std::shared_ptr<Promise<std::optional<SettingsPrompt>>>
|
|
438
498
|
/**
|
|
439
499
|
* Specialized version of `std::shared_ptr<Promise<std::optional<SettingsPrompt>>>`.
|
|
440
500
|
*/
|
|
441
501
|
using std__shared_ptr_Promise_std__optional_SettingsPrompt___ = std::shared_ptr<Promise<std::optional<SettingsPrompt>>>;
|
|
442
|
-
inline std::shared_ptr<Promise<std::optional<SettingsPrompt>>> create_std__shared_ptr_Promise_std__optional_SettingsPrompt___() {
|
|
502
|
+
inline std::shared_ptr<Promise<std::optional<SettingsPrompt>>> create_std__shared_ptr_Promise_std__optional_SettingsPrompt___() noexcept {
|
|
443
503
|
return Promise<std::optional<SettingsPrompt>>::create();
|
|
444
504
|
}
|
|
445
|
-
inline PromiseHolder<std::optional<SettingsPrompt>> wrap_std__shared_ptr_Promise_std__optional_SettingsPrompt___(std::shared_ptr<Promise<std::optional<SettingsPrompt>>> promise) {
|
|
505
|
+
inline PromiseHolder<std::optional<SettingsPrompt>> wrap_std__shared_ptr_Promise_std__optional_SettingsPrompt___(std::shared_ptr<Promise<std::optional<SettingsPrompt>>> promise) noexcept {
|
|
446
506
|
return PromiseHolder<std::optional<SettingsPrompt>>(std::move(promise));
|
|
447
507
|
}
|
|
448
508
|
|
|
@@ -457,14 +517,14 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
457
517
|
class Func_void_std__optional_SettingsPrompt__Wrapper final {
|
|
458
518
|
public:
|
|
459
519
|
explicit Func_void_std__optional_SettingsPrompt__Wrapper(std::function<void(const std::optional<SettingsPrompt>& /* result */)>&& func): _function(std::make_unique<std::function<void(const std::optional<SettingsPrompt>& /* result */)>>(std::move(func))) {}
|
|
460
|
-
inline void call(std::optional<SettingsPrompt> result) const {
|
|
520
|
+
inline void call(std::optional<SettingsPrompt> result) const noexcept {
|
|
461
521
|
_function->operator()(result);
|
|
462
522
|
}
|
|
463
523
|
private:
|
|
464
524
|
std::unique_ptr<std::function<void(const std::optional<SettingsPrompt>& /* result */)>> _function;
|
|
465
525
|
} SWIFT_NONCOPYABLE;
|
|
466
|
-
Func_void_std__optional_SettingsPrompt_ create_Func_void_std__optional_SettingsPrompt_(void* _Nonnull swiftClosureWrapper);
|
|
467
|
-
inline Func_void_std__optional_SettingsPrompt__Wrapper wrap_Func_void_std__optional_SettingsPrompt_(Func_void_std__optional_SettingsPrompt_ value) {
|
|
526
|
+
Func_void_std__optional_SettingsPrompt_ create_Func_void_std__optional_SettingsPrompt_(void* _Nonnull swiftClosureWrapper) noexcept;
|
|
527
|
+
inline Func_void_std__optional_SettingsPrompt__Wrapper wrap_Func_void_std__optional_SettingsPrompt_(Func_void_std__optional_SettingsPrompt_ value) noexcept {
|
|
468
528
|
return Func_void_std__optional_SettingsPrompt__Wrapper(std::move(value));
|
|
469
529
|
}
|
|
470
530
|
|
|
@@ -473,10 +533,10 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
473
533
|
* Specialized version of `std::shared_ptr<Promise<bool>>`.
|
|
474
534
|
*/
|
|
475
535
|
using std__shared_ptr_Promise_bool__ = std::shared_ptr<Promise<bool>>;
|
|
476
|
-
inline std::shared_ptr<Promise<bool>> create_std__shared_ptr_Promise_bool__() {
|
|
536
|
+
inline std::shared_ptr<Promise<bool>> create_std__shared_ptr_Promise_bool__() noexcept {
|
|
477
537
|
return Promise<bool>::create();
|
|
478
538
|
}
|
|
479
|
-
inline PromiseHolder<bool> wrap_std__shared_ptr_Promise_bool__(std::shared_ptr<Promise<bool>> promise) {
|
|
539
|
+
inline PromiseHolder<bool> wrap_std__shared_ptr_Promise_bool__(std::shared_ptr<Promise<bool>> promise) noexcept {
|
|
480
540
|
return PromiseHolder<bool>(std::move(promise));
|
|
481
541
|
}
|
|
482
542
|
|
|
@@ -485,7 +545,7 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
485
545
|
* Specialized version of `std::vector<PurposeConsent>`.
|
|
486
546
|
*/
|
|
487
547
|
using std__vector_PurposeConsent_ = std::vector<PurposeConsent>;
|
|
488
|
-
inline std::vector<PurposeConsent> create_std__vector_PurposeConsent_(size_t size) {
|
|
548
|
+
inline std::vector<PurposeConsent> create_std__vector_PurposeConsent_(size_t size) noexcept {
|
|
489
549
|
std::vector<PurposeConsent> vector;
|
|
490
550
|
vector.reserve(size);
|
|
491
551
|
return vector;
|
|
@@ -496,7 +556,7 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
496
556
|
* Specialized version of `std::vector<PermissionConsent>`.
|
|
497
557
|
*/
|
|
498
558
|
using std__vector_PermissionConsent_ = std::vector<PermissionConsent>;
|
|
499
|
-
inline std::vector<PermissionConsent> create_std__vector_PermissionConsent_(size_t size) {
|
|
559
|
+
inline std::vector<PermissionConsent> create_std__vector_PermissionConsent_(size_t size) noexcept {
|
|
500
560
|
std::vector<PermissionConsent> vector;
|
|
501
561
|
vector.reserve(size);
|
|
502
562
|
return vector;
|
|
@@ -507,100 +567,100 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
507
567
|
* Specialized version of `std::shared_ptr<HybridConsentSDKSpec>`.
|
|
508
568
|
*/
|
|
509
569
|
using std__shared_ptr_HybridConsentSDKSpec_ = std::shared_ptr<HybridConsentSDKSpec>;
|
|
510
|
-
std::shared_ptr<HybridConsentSDKSpec> create_std__shared_ptr_HybridConsentSDKSpec_(void* _Nonnull swiftUnsafePointer);
|
|
511
|
-
void* _Nonnull get_std__shared_ptr_HybridConsentSDKSpec_(std__shared_ptr_HybridConsentSDKSpec_ cppType);
|
|
570
|
+
std::shared_ptr<HybridConsentSDKSpec> create_std__shared_ptr_HybridConsentSDKSpec_(void* _Nonnull swiftUnsafePointer) noexcept;
|
|
571
|
+
void* _Nonnull get_std__shared_ptr_HybridConsentSDKSpec_(std__shared_ptr_HybridConsentSDKSpec_ cppType) noexcept;
|
|
512
572
|
|
|
513
573
|
// pragma MARK: std::weak_ptr<HybridConsentSDKSpec>
|
|
514
574
|
using std__weak_ptr_HybridConsentSDKSpec_ = std::weak_ptr<HybridConsentSDKSpec>;
|
|
515
|
-
inline std__weak_ptr_HybridConsentSDKSpec_ weakify_std__shared_ptr_HybridConsentSDKSpec_(const std::shared_ptr<HybridConsentSDKSpec>& strong) { return strong; }
|
|
575
|
+
inline std__weak_ptr_HybridConsentSDKSpec_ weakify_std__shared_ptr_HybridConsentSDKSpec_(const std::shared_ptr<HybridConsentSDKSpec>& strong) noexcept { return strong; }
|
|
516
576
|
|
|
517
577
|
// pragma MARK: Result<void>
|
|
518
578
|
using Result_void_ = Result<void>;
|
|
519
|
-
inline Result_void_ create_Result_void_() {
|
|
579
|
+
inline Result_void_ create_Result_void_() noexcept {
|
|
520
580
|
return Result<void>::withValue();
|
|
521
581
|
}
|
|
522
|
-
inline Result_void_ create_Result_void_(const std::exception_ptr& error) {
|
|
582
|
+
inline Result_void_ create_Result_void_(const std::exception_ptr& error) noexcept {
|
|
523
583
|
return Result<void>::withError(error);
|
|
524
584
|
}
|
|
525
585
|
|
|
526
586
|
// pragma MARK: Result<bool>
|
|
527
587
|
using Result_bool_ = Result<bool>;
|
|
528
|
-
inline Result_bool_ create_Result_bool_(bool value) {
|
|
588
|
+
inline Result_bool_ create_Result_bool_(bool value) noexcept {
|
|
529
589
|
return Result<bool>::withValue(std::move(value));
|
|
530
590
|
}
|
|
531
|
-
inline Result_bool_ create_Result_bool_(const std::exception_ptr& error) {
|
|
591
|
+
inline Result_bool_ create_Result_bool_(const std::exception_ptr& error) noexcept {
|
|
532
592
|
return Result<bool>::withError(error);
|
|
533
593
|
}
|
|
534
594
|
|
|
535
595
|
// pragma MARK: Result<std::shared_ptr<Promise<std::string>>>
|
|
536
596
|
using Result_std__shared_ptr_Promise_std__string___ = Result<std::shared_ptr<Promise<std::string>>>;
|
|
537
|
-
inline Result_std__shared_ptr_Promise_std__string___ create_Result_std__shared_ptr_Promise_std__string___(const std::shared_ptr<Promise<std::string>>& value) {
|
|
597
|
+
inline Result_std__shared_ptr_Promise_std__string___ create_Result_std__shared_ptr_Promise_std__string___(const std::shared_ptr<Promise<std::string>>& value) noexcept {
|
|
538
598
|
return Result<std::shared_ptr<Promise<std::string>>>::withValue(value);
|
|
539
599
|
}
|
|
540
|
-
inline Result_std__shared_ptr_Promise_std__string___ create_Result_std__shared_ptr_Promise_std__string___(const std::exception_ptr& error) {
|
|
600
|
+
inline Result_std__shared_ptr_Promise_std__string___ create_Result_std__shared_ptr_Promise_std__string___(const std::exception_ptr& error) noexcept {
|
|
541
601
|
return Result<std::shared_ptr<Promise<std::string>>>::withError(error);
|
|
542
602
|
}
|
|
543
603
|
|
|
544
604
|
// pragma MARK: Result<std::shared_ptr<Promise<std::vector<AppPermission>>>>
|
|
545
605
|
using Result_std__shared_ptr_Promise_std__vector_AppPermission____ = Result<std::shared_ptr<Promise<std::vector<AppPermission>>>>;
|
|
546
|
-
inline Result_std__shared_ptr_Promise_std__vector_AppPermission____ create_Result_std__shared_ptr_Promise_std__vector_AppPermission____(const std::shared_ptr<Promise<std::vector<AppPermission>>>& value) {
|
|
606
|
+
inline Result_std__shared_ptr_Promise_std__vector_AppPermission____ create_Result_std__shared_ptr_Promise_std__vector_AppPermission____(const std::shared_ptr<Promise<std::vector<AppPermission>>>& value) noexcept {
|
|
547
607
|
return Result<std::shared_ptr<Promise<std::vector<AppPermission>>>>::withValue(value);
|
|
548
608
|
}
|
|
549
|
-
inline Result_std__shared_ptr_Promise_std__vector_AppPermission____ create_Result_std__shared_ptr_Promise_std__vector_AppPermission____(const std::exception_ptr& error) {
|
|
609
|
+
inline Result_std__shared_ptr_Promise_std__vector_AppPermission____ create_Result_std__shared_ptr_Promise_std__vector_AppPermission____(const std::exception_ptr& error) noexcept {
|
|
550
610
|
return Result<std::shared_ptr<Promise<std::vector<AppPermission>>>>::withError(error);
|
|
551
611
|
}
|
|
552
612
|
|
|
553
613
|
// pragma MARK: Result<std::shared_ptr<Promise<std::vector<Purpose>>>>
|
|
554
614
|
using Result_std__shared_ptr_Promise_std__vector_Purpose____ = Result<std::shared_ptr<Promise<std::vector<Purpose>>>>;
|
|
555
|
-
inline Result_std__shared_ptr_Promise_std__vector_Purpose____ create_Result_std__shared_ptr_Promise_std__vector_Purpose____(const std::shared_ptr<Promise<std::vector<Purpose>>>& value) {
|
|
615
|
+
inline Result_std__shared_ptr_Promise_std__vector_Purpose____ create_Result_std__shared_ptr_Promise_std__vector_Purpose____(const std::shared_ptr<Promise<std::vector<Purpose>>>& value) noexcept {
|
|
556
616
|
return Result<std::shared_ptr<Promise<std::vector<Purpose>>>>::withValue(value);
|
|
557
617
|
}
|
|
558
|
-
inline Result_std__shared_ptr_Promise_std__vector_Purpose____ create_Result_std__shared_ptr_Promise_std__vector_Purpose____(const std::exception_ptr& error) {
|
|
618
|
+
inline Result_std__shared_ptr_Promise_std__vector_Purpose____ create_Result_std__shared_ptr_Promise_std__vector_Purpose____(const std::exception_ptr& error) noexcept {
|
|
559
619
|
return Result<std::shared_ptr<Promise<std::vector<Purpose>>>>::withError(error);
|
|
560
620
|
}
|
|
561
621
|
|
|
562
622
|
// pragma MARK: Result<std::shared_ptr<Promise<std::vector<SDK>>>>
|
|
563
623
|
using Result_std__shared_ptr_Promise_std__vector_SDK____ = Result<std::shared_ptr<Promise<std::vector<SDK>>>>;
|
|
564
|
-
inline Result_std__shared_ptr_Promise_std__vector_SDK____ create_Result_std__shared_ptr_Promise_std__vector_SDK____(const std::shared_ptr<Promise<std::vector<SDK>>>& value) {
|
|
624
|
+
inline Result_std__shared_ptr_Promise_std__vector_SDK____ create_Result_std__shared_ptr_Promise_std__vector_SDK____(const std::shared_ptr<Promise<std::vector<SDK>>>& value) noexcept {
|
|
565
625
|
return Result<std::shared_ptr<Promise<std::vector<SDK>>>>::withValue(value);
|
|
566
626
|
}
|
|
567
|
-
inline Result_std__shared_ptr_Promise_std__vector_SDK____ create_Result_std__shared_ptr_Promise_std__vector_SDK____(const std::exception_ptr& error) {
|
|
627
|
+
inline Result_std__shared_ptr_Promise_std__vector_SDK____ create_Result_std__shared_ptr_Promise_std__vector_SDK____(const std::exception_ptr& error) noexcept {
|
|
568
628
|
return Result<std::shared_ptr<Promise<std::vector<SDK>>>>::withError(error);
|
|
569
629
|
}
|
|
570
630
|
|
|
571
631
|
// pragma MARK: Result<std::shared_ptr<Promise<std::optional<BannerConfig>>>>
|
|
572
632
|
using Result_std__shared_ptr_Promise_std__optional_BannerConfig____ = Result<std::shared_ptr<Promise<std::optional<BannerConfig>>>>;
|
|
573
|
-
inline Result_std__shared_ptr_Promise_std__optional_BannerConfig____ create_Result_std__shared_ptr_Promise_std__optional_BannerConfig____(const std::shared_ptr<Promise<std::optional<BannerConfig>>>& value) {
|
|
633
|
+
inline Result_std__shared_ptr_Promise_std__optional_BannerConfig____ create_Result_std__shared_ptr_Promise_std__optional_BannerConfig____(const std::shared_ptr<Promise<std::optional<BannerConfig>>>& value) noexcept {
|
|
574
634
|
return Result<std::shared_ptr<Promise<std::optional<BannerConfig>>>>::withValue(value);
|
|
575
635
|
}
|
|
576
|
-
inline Result_std__shared_ptr_Promise_std__optional_BannerConfig____ create_Result_std__shared_ptr_Promise_std__optional_BannerConfig____(const std::exception_ptr& error) {
|
|
636
|
+
inline Result_std__shared_ptr_Promise_std__optional_BannerConfig____ create_Result_std__shared_ptr_Promise_std__optional_BannerConfig____(const std::exception_ptr& error) noexcept {
|
|
577
637
|
return Result<std::shared_ptr<Promise<std::optional<BannerConfig>>>>::withError(error);
|
|
578
638
|
}
|
|
579
639
|
|
|
580
640
|
// pragma MARK: Result<std::optional<CmpSDKOptions>>
|
|
581
641
|
using Result_std__optional_CmpSDKOptions__ = Result<std::optional<CmpSDKOptions>>;
|
|
582
|
-
inline Result_std__optional_CmpSDKOptions__ create_Result_std__optional_CmpSDKOptions__(const std::optional<CmpSDKOptions>& value) {
|
|
642
|
+
inline Result_std__optional_CmpSDKOptions__ create_Result_std__optional_CmpSDKOptions__(const std::optional<CmpSDKOptions>& value) noexcept {
|
|
583
643
|
return Result<std::optional<CmpSDKOptions>>::withValue(value);
|
|
584
644
|
}
|
|
585
|
-
inline Result_std__optional_CmpSDKOptions__ create_Result_std__optional_CmpSDKOptions__(const std::exception_ptr& error) {
|
|
645
|
+
inline Result_std__optional_CmpSDKOptions__ create_Result_std__optional_CmpSDKOptions__(const std::exception_ptr& error) noexcept {
|
|
586
646
|
return Result<std::optional<CmpSDKOptions>>::withError(error);
|
|
587
647
|
}
|
|
588
648
|
|
|
589
649
|
// pragma MARK: Result<std::shared_ptr<Promise<std::optional<SettingsPrompt>>>>
|
|
590
650
|
using Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____ = Result<std::shared_ptr<Promise<std::optional<SettingsPrompt>>>>;
|
|
591
|
-
inline Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____ create_Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____(const std::shared_ptr<Promise<std::optional<SettingsPrompt>>>& value) {
|
|
651
|
+
inline Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____ create_Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____(const std::shared_ptr<Promise<std::optional<SettingsPrompt>>>& value) noexcept {
|
|
592
652
|
return Result<std::shared_ptr<Promise<std::optional<SettingsPrompt>>>>::withValue(value);
|
|
593
653
|
}
|
|
594
|
-
inline Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____ create_Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____(const std::exception_ptr& error) {
|
|
654
|
+
inline Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____ create_Result_std__shared_ptr_Promise_std__optional_SettingsPrompt____(const std::exception_ptr& error) noexcept {
|
|
595
655
|
return Result<std::shared_ptr<Promise<std::optional<SettingsPrompt>>>>::withError(error);
|
|
596
656
|
}
|
|
597
657
|
|
|
598
658
|
// pragma MARK: Result<std::shared_ptr<Promise<bool>>>
|
|
599
659
|
using Result_std__shared_ptr_Promise_bool___ = Result<std::shared_ptr<Promise<bool>>>;
|
|
600
|
-
inline Result_std__shared_ptr_Promise_bool___ create_Result_std__shared_ptr_Promise_bool___(const std::shared_ptr<Promise<bool>>& value) {
|
|
660
|
+
inline Result_std__shared_ptr_Promise_bool___ create_Result_std__shared_ptr_Promise_bool___(const std::shared_ptr<Promise<bool>>& value) noexcept {
|
|
601
661
|
return Result<std::shared_ptr<Promise<bool>>>::withValue(value);
|
|
602
662
|
}
|
|
603
|
-
inline Result_std__shared_ptr_Promise_bool___ create_Result_std__shared_ptr_Promise_bool___(const std::exception_ptr& error) {
|
|
663
|
+
inline Result_std__shared_ptr_Promise_bool___ create_Result_std__shared_ptr_Promise_bool___(const std::exception_ptr& error) noexcept {
|
|
604
664
|
return Result<std::shared_ptr<Promise<bool>>>::withError(error);
|
|
605
665
|
}
|
|
606
666
|
|