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