LeviLamina
Loading...
Searching...
No Matches
CallStack.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/diagnostics/LogAreaID.h"
7#include "mc/platform/diagnostics/LogLevel.h"
8
9namespace Bedrock {
10
11struct CallStack {
12public:
13 // CallStack inner types declare
14 // clang-format off
15 struct Context;
16 struct Frame;
17 struct FrameWithContext;
18 // clang-format on
19
20 // CallStack inner types define
21 struct Context {
22 public:
23 // member variables
24 // NOLINTBEGIN
25 ::std::string mValue;
26 ::std::optional<::Bedrock::LogLevel> mLogLevel;
27 ::std::optional<::LogAreaID> mLogArea;
28 // NOLINTEND
29
30#ifdef LL_PLAT_S
31#else // LL_PLAT_C
32 public:
33 // prevent constructor by default
34 Context();
35
36#endif
37 public:
38 // member functions
39 // NOLINTBEGIN
40#ifdef LL_PLAT_C
41 MCAPI Context(
42 ::std::string value,
43 ::std::optional<::Bedrock::LogLevel> logLevel,
44 ::std::optional<::LogAreaID> logArea
45 );
46#endif
47 // NOLINTEND
48
49 public:
50 // constructor thunks
51 // NOLINTBEGIN
52#ifdef LL_PLAT_C
53 MCAPI void*
54 $ctor(::std::string value, ::std::optional<::Bedrock::LogLevel> logLevel, ::std::optional<::LogAreaID> logArea);
55#endif
56 // NOLINTEND
57 };
58
59 struct Frame {
60 public:
61 // member variables
62 // NOLINTBEGIN
63 uint64 mFilenameHash;
64 ::std::string_view mFilename;
65 uint mLine;
66 // NOLINTEND
67 };
68
70 public:
71 // member variables
72 // NOLINTBEGIN
74 ::std::optional<::Bedrock::CallStack::Context> mContext;
75 // NOLINTEND
76
77 public:
78 // member functions
79 // NOLINTBEGIN
80 MCAPI ~FrameWithContext();
81 // NOLINTEND
82
83 public:
84 // destructor thunk
85 // NOLINTBEGIN
86 MCFOLD void $dtor();
87 // NOLINTEND
88 };
89
90public:
91 // member variables
92 // NOLINTBEGIN
93 ::std::vector<::Bedrock::CallStack::FrameWithContext> mFrames;
94 // NOLINTEND
95
96public:
97 // prevent constructor by default
98 CallStack() = default;
99
100public:
101 // member functions
102 // NOLINTBEGIN
103 MCAPI explicit CallStack(::Bedrock::CallStack::FrameWithContext&& frame);
104 // NOLINTEND
105
106public:
107 // constructor thunks
108 // NOLINTBEGIN
109 MCAPI void* $ctor(::Bedrock::CallStack::FrameWithContext&& frame);
110 // NOLINTEND
111};
112
113} // namespace Bedrock
Definition CallStack.h:21
Definition CallStack.h:69
Definition CallStack.h:59