LeviLamina
Loading...
Searching...
No Matches
ResultAny.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Scripting {
6
7class ResultAny {
8public:
9 // member variables
10 // NOLINTBEGIN
11 ::ll::TypedStorage<1, 1, bool> mIsError;
12 ::ll::TypedStorage<8, 64, ::entt::meta_any> mValue;
13 // NOLINTEND
14
15public:
16 // prevent constructor by default
17 ResultAny(ResultAny const&);
18 ResultAny();
19
20public:
21 // member functions
22 // NOLINTBEGIN
23 MCAPI ResultAny(::Scripting::ResultAny&&);
24
25 MCAPI explicit ResultAny(::entt::meta_any&& resultAny);
26
27 MCFOLD ::Scripting::ResultAny& operator=(::Scripting::ResultAny&&);
28
29 MCAPI ::Scripting::ResultAny& operator=(::Scripting::ResultAny const&);
30
31 MCAPI ::entt::meta_any toAny();
32
33 MCAPI ::entt::meta_any toAny() const;
34
35 MCAPI ::entt::meta_any toErrorAny() const;
36
37 MCAPI ~ResultAny();
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCAPI static ::Scripting::ResultAny makeErrorFromAny(::entt::meta_any&& errorAny);
44
45 MCAPI static ::Scripting::ResultAny makeResultFromAny(::entt::meta_any const& resultAny);
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCFOLD void* $ctor(::Scripting::ResultAny&&);
52
53 MCAPI void* $ctor(::entt::meta_any&& resultAny);
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCFOLD void $dtor();
60 // NOLINTEND
61};
62
63} // namespace Scripting
Definition ResultAny.h:7