Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
a
c
d
e
f
h
i
k
l
m
o
p
r
s
t
v
w
Enumerator
a
b
c
d
e
i
l
m
n
o
p
r
t
u
Related Functions
b
g
h
o
s
t
Files
File List
File Members
All
_
a
c
g
h
j
n
o
p
s
t
u
v
w
Functions
a
c
g
h
j
n
o
p
s
t
u
v
w
Variables
Typedefs
a
g
n
p
s
t
u
Enumerations
Enumerator
Macros
_
a
g
n
p
s
t
u
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
error.h
Go to the documentation of this file.
1
//
2
// Copyright 2016 Pixar
3
//
4
// Licensed under the terms set forth in the LICENSE.txt file available at
5
// https://openusd.org/license.
6
//
7
#ifndef PXR_BASE_ARCH_ERROR_H
8
#define PXR_BASE_ARCH_ERROR_H
9
13
14
#include "
pxr/pxr.h
"
15
#include "pxr/base/arch/api.h"
16
#include "pxr/base/arch/defines.h"
17
#include "
pxr/base/arch/functionLite.h
"
18
#include <stddef.h>
19
20
PXR_NAMESPACE_OPEN_SCOPE
21
30
[[noreturn]]
31
ARCH_API
32
void
Arch_Error(
const
char
* msg,
const
char
* funcName,
33
size_t
lineNo,
const
char
* fileName);
34
43
ARCH_API
44
void
Arch_Warning(
const
char
* msg,
const
char
* funcName,
45
size_t
lineNo,
const
char
* fileName);
46
49
55
#define ARCH_ERROR(msg) \
56
Arch_Error(msg, __ARCH_FUNCTION__, __LINE__, __ARCH_FILE__)
57
63
#define ARCH_WARNING(msg) \
64
Arch_Warning(msg, __ARCH_FUNCTION__, __LINE__, __ARCH_FILE__)
65
68
#define ARCH_AXIOM(cond) \
69
if (!(cond)) ARCH_ERROR("["
#cond "] axiom failed")
70
72
73
PXR_NAMESPACE_CLOSE_SCOPE
74
75
#endif
// PXR_BASE_ARCH_ERROR_H
functionLite.h
Define preprocessor function name macros.
pxr.h
pxr
base
arch
error.h
© Copyright 2024, Pixar Animation Studios. |
Terms of Use
| Generated on Thu Oct 24 2024 22:27:04 by
1.9.6