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
9
namespace
Bedrock {
10
11
struct
CallStack {
12
public
:
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
31
struct
Frame
{
32
public
:
33
// member variables
34
// NOLINTBEGIN
35
uint64 mFilenameHash;
36
::std::string_view mFilename;
37
uint mLine;
38
// NOLINTEND
39
};
40
41
struct
FrameWithContext
{
42
public
:
43
// member variables
44
// NOLINTBEGIN
45
::Bedrock::CallStack::Frame
mFrame;
46
::std::optional<::Bedrock::CallStack::Context> mContext;
47
// NOLINTEND
48
49
public
:
50
// member functions
51
// NOLINTBEGIN
52
MCAPI
~FrameWithContext
();
53
// NOLINTEND
54
55
public
:
56
// destructor thunk
57
// NOLINTBEGIN
58
MCFOLD
void
$dtor();
59
// NOLINTEND
60
};
61
62
public
:
63
// member variables
64
// NOLINTBEGIN
65
::std::vector<::Bedrock::CallStack::FrameWithContext> mFrames;
66
// NOLINTEND
67
68
public
:
69
// prevent constructor by default
70
CallStack() =
default
;
71
72
public
:
73
// member functions
74
// NOLINTBEGIN
75
MCAPI
explicit
CallStack(
::Bedrock::CallStack::FrameWithContext
&& frame);
76
// NOLINTEND
77
78
public
:
79
// constructor thunks
80
// NOLINTBEGIN
81
MCAPI
void
* $ctor(
::Bedrock::CallStack::FrameWithContext
&& frame);
82
// NOLINTEND
83
};
84
85
}
// namespace Bedrock
Bedrock::CallStack::Context
Definition
CallStack.h:21
Bedrock::CallStack::FrameWithContext
Definition
CallStack.h:41
Bedrock::CallStack::Frame
Definition
CallStack.h:31
src
mc
platform
CallStack.h
Generated on
for LeviLamina by
1.16.1