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/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 Frame {
22 public:
23 // member variables
24 // NOLINTBEGIN
25 uint64 mFilenameHash;
26 ::std::string_view mFilename;
27 uint mLine;
28 // NOLINTEND
29 };
30
31 struct Context {
32 public:
33 // member variables
34 // NOLINTBEGIN
35 ::std::string mValue;
36 ::std::optional<::Bedrock::LogLevel> mLogLevel;
37 ::std::optional<::LogAreaID> mLogArea;
38 // NOLINTEND
39
40 public:
41 Context& operator=(Context const&) = default;
42 Context(Context const&) = default;
43
44 public:
45 // member functions
46 // NOLINTBEGIN
48 // NOLINTEND
49
50 public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor(::Bedrock::CallStack::Context&&);
54 // NOLINTEND
55 };
56
58 public:
59 // member variables
60 // NOLINTBEGIN
62 ::std::optional<::Bedrock::CallStack::Context> mContext;
63 // NOLINTEND
64
65 public:
66 FrameWithContext& operator=(FrameWithContext const&) = default;
67 FrameWithContext(FrameWithContext const&) = default;
68
69 public:
70 // member functions
71 // NOLINTBEGIN
73
74 MCAPI ~FrameWithContext();
75 // NOLINTEND
76
77 public:
78 // constructor thunks
79 // NOLINTBEGIN
80 MCAPI void* $ctor(::Bedrock::CallStack::FrameWithContext&&);
81 // NOLINTEND
82
83 public:
84 // destructor thunk
85 // NOLINTBEGIN
86 MCAPI void $dtor();
87 // NOLINTEND
88 };
89
90public:
91 // member variables
92 // NOLINTBEGIN
93 ::std::vector<::Bedrock::CallStack::FrameWithContext> mFrames;
94 // NOLINTEND
95
96public:
97 // member functions
98 // NOLINTBEGIN
100
101 MCAPI ~CallStack();
102 // NOLINTEND
103
104public:
105 // constructor thunks
106 // NOLINTBEGIN
107 MCAPI void* $ctor(::Bedrock::CallStack::FrameWithContext&& frame);
108 // NOLINTEND
109
110public:
111 // destructor thunk
112 // NOLINTBEGIN
113 MCAPI void $dtor();
114 // NOLINTEND
115};
116
117} // namespace Bedrock
Definition CallStack.h:31
Definition CallStack.h:57
Definition CallStack.h:21
Definition CallStack.h:11