Blender
V3.3
intern
ghost
intern
GHOST_XrException.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
7
#pragma once
8
9
#include <exception>
10
#include <string>
11
12
class
GHOST_XrException
:
public
std::exception {
13
friend
class
GHOST_XrContext
;
14
15
public
:
16
GHOST_XrException
(
const
char
*msg,
int
result
= 0)
17
:
std
::exception(), m_msg(msg), m_result(
result
)
18
{
19
}
20
21
const
char
*
what
() const noexcept
override
22
{
23
return
m_msg.data();
24
}
25
26
private
:
27
std::string m_msg;
28
int
m_result;
29
};
result
double result
Definition:
BLI_expr_pylike_eval_test.cc:348
GHOST_XrContext
Main GHOST container to manage OpenXR through.
Definition:
GHOST_XrContext.h:52
GHOST_XrException
Definition:
GHOST_XrException.h:12
GHOST_XrException::what
const char * what() const noexcept override
Definition:
GHOST_XrException.h:21
GHOST_XrException::GHOST_XrException
GHOST_XrException(const char *msg, int result=0)
Definition:
GHOST_XrException.h:16
std
Definition:
cycles_cubin_cc.cpp:22
Generated on Tue Oct 22 2024 13:18:25 for Blender by
doxygen
1.9.1