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
42 public:
43 // member variables
44 // NOLINTBEGIN
46 ::std::optional<::Bedrock::CallStack::Context> mContext;
47 // NOLINTEND
48
49 public:
50 FrameWithContext& operator=(FrameWithContext const&) = default;
51 FrameWithContext(FrameWithContext const&) = default;
52
53 public:
54 // member functions
55 // NOLINTBEGIN
57
58 MCAPI ~FrameWithContext();
59 // NOLINTEND
60
61 public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(::Bedrock::CallStack::FrameWithContext&&);
65 // NOLINTEND
66
67 public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCAPI void $dtor();
71 // NOLINTEND
72 };
73
74public:
75 // member variables
76 // NOLINTBEGIN
77 ::std::vector<::Bedrock::CallStack::FrameWithContext> mFrames;
78 // NOLINTEND
79
80public:
81 // member functions
82 // NOLINTBEGIN
84
85 MCAPI ~CallStack();
86 // NOLINTEND
87
88public:
89 // constructor thunks
90 // NOLINTBEGIN
91 MCAPI void* $ctor(::Bedrock::CallStack::FrameWithContext&& frame);
92 // NOLINTEND
93
94public:
95 // destructor thunk
96 // NOLINTBEGIN
97 MCAPI void $dtor();
98 // NOLINTEND
99};
100
101} // namespace Bedrock
Definition CallStack.h:31
Definition CallStack.h:41
Definition CallStack.h:21
Definition CallStack.h:11