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
FrameWithContext& operator=(FrameWithContext
const
&) =
default
;
51
FrameWithContext(FrameWithContext
const
&) =
default
;
52
53
// prevent constructor by default
54
FrameWithContext();
55
56
public
:
57
// member functions
58
// NOLINTBEGIN
59
MCAPI
60
FrameWithContext(
::Bedrock::CallStack::Frame
&& frame, ::std::optional<::Bedrock::CallStack::Context>&&
context
);
61
62
MCAPI ~FrameWithContext();
63
// NOLINTEND
64
65
public
:
66
// constructor thunks
67
// NOLINTBEGIN
68
MCAPI
void
*
69
$ctor(
::Bedrock::CallStack::Frame
&& frame, ::std::optional<::Bedrock::CallStack::Context>&&
context
);
70
// NOLINTEND
71
72
public
:
73
// destructor thunk
74
// NOLINTBEGIN
75
MCFOLD
void
$dtor();
76
// NOLINTEND
77
};
78
79
public
:
80
// member variables
81
// NOLINTBEGIN
82
::std::vector<::Bedrock::CallStack::FrameWithContext> mFrames;
83
// NOLINTEND
84
85
public
:
86
// prevent constructor by default
87
CallStack() =
default
;
88
89
public
:
90
// member functions
91
// NOLINTBEGIN
92
MCAPI
explicit
CallStack(
::Bedrock::CallStack::FrameWithContext
&& frame);
93
94
MCAPI
explicit
CallStack(::std::vector<::Bedrock::CallStack::FrameWithContext>&& frames);
95
// NOLINTEND
96
97
public
:
98
// constructor thunks
99
// NOLINTBEGIN
100
MCAPI
void
* $ctor(
::Bedrock::CallStack::FrameWithContext
&& frame);
101
102
MCFOLD
void
* $ctor(::std::vector<::Bedrock::CallStack::FrameWithContext>&& frames);
103
// NOLINTEND
104
};
105
106
}
// namespace Bedrock
Bedrock::CallStack::Context
Definition
CallStack.h:21
Bedrock::CallStack::FrameWithContext
Definition
CallStack.h:41
Bedrock::CallStack::Frame
Definition
CallStack.h:31
context
Definition
context.h:5
src
mc
platform
CallStack.h
Generated on
for LeviLamina by
1.16.1