7#ifndef PXR_BASE_TF_DIAGNOSTIC_HELPER_H
8#define PXR_BASE_TF_DIAGNOSTIC_HELPER_H
11#include "pxr/base/tf/api.h"
13#include "pxr/base/arch/defines.h"
24#if defined(ARCH_OS_LINUX) || defined(ARCH_OS_DARWIN)
33PXR_NAMESPACE_OPEN_SCOPE
35typedef std::any TfDiagnosticInfo;
43 const TfCallContext &context,
45 const std::string &msg);
49 const TfCallContext &context,
51 const std::string &msg);
55 const TfCallContext &context,
61 const TfCallContext &context,
67 const TfCallContext &context,
68 const TfDiagnosticInfo &info,
70 const
std::
string &msg);
74 const TfCallContext &context,
75 const TfDiagnosticInfo &info,
80Tf_PostQuietlyErrorHelper(
81 const TfCallContext &context,
83 const TfDiagnosticInfo &info,
84 const
std::
string &msg);
87Tf_PostQuietlyErrorHelper(
88 const TfCallContext &context,
90 const TfDiagnosticInfo &info,
94Tf_PostQuietlyErrorHelper(
95 const TfCallContext &context,
97 const
std::
string &msg);
100Tf_PostQuietlyErrorHelper(
101 const TfCallContext &context,
108Tf_PostWarningHelper(const TfCallContext &context,
109 const
std::
string &msg);
112Tf_PostWarningHelper(const TfCallContext &context,
117 const TfCallContext &context,
119 const
std::
string &msg);
123 const TfCallContext &context,
125 const
std::
string &msg);
129 const TfCallContext &context,
135 const TfCallContext &context,
141 const TfCallContext &context,
142 const TfDiagnosticInfo &info,
144 const
std::
string &msg);
148 const TfCallContext &context,
149 const TfDiagnosticInfo &info,
155 const TfCallContext &context,
160 const TfCallContext &context,
161 const
std::
string &msg);
166 const TfCallContext &context,
168 const
std::
string &msg);
172 const TfCallContext &context,
178 const TfCallContext &context,
179 const TfDiagnosticInfo &info,
181 const
std::
string &msg);
185 const TfCallContext &context,
186 const TfDiagnosticInfo &info,
190PXR_NAMESPACE_CLOSE_SCOPE
Define function attributes.
#define ARCH_PRINTF_FUNCTION(_fmt, _firstArg)
Macro used to indicate a function takes a printf-like specification.
An enum class that records both enum type and enum value.
Represents an object that contains error information.
TfDiagnosticType
Enum describing various diagnostic conditions.