24 #ifndef PXR_BASE_TF_DIAGNOSTIC_HELPER_H 25 #define PXR_BASE_TF_DIAGNOSTIC_HELPER_H 28 #include "pxr/base/tf/api.h" 35 #include <boost/any.hpp> 38 PXR_NAMESPACE_OPEN_SCOPE
40 typedef boost::any TfDiagnosticInfo;
48 const TfCallContext &context,
50 const std::string &msg);
54 const TfCallContext &context,
56 const std::string &msg);
60 const TfCallContext &context,
66 const TfCallContext &context,
72 const TfCallContext &context,
73 const TfDiagnosticInfo &info,
75 const std::
string &msg);
79 const TfCallContext &context,
80 const TfDiagnosticInfo &info,
85 Tf_PostQuietlyErrorHelper(
86 const TfCallContext &context,
88 const TfDiagnosticInfo &info,
89 const std::
string &msg);
92 Tf_PostQuietlyErrorHelper(
93 const TfCallContext &context,
95 const TfDiagnosticInfo &info,
99 Tf_PostQuietlyErrorHelper(
100 const TfCallContext &context,
102 const std::
string &msg);
105 Tf_PostQuietlyErrorHelper(
106 const TfCallContext &context,
113 Tf_PostWarningHelper(const TfCallContext &context,
114 const std::
string &msg);
117 Tf_PostWarningHelper(const TfCallContext &context,
121 Tf_PostWarningHelper(
122 const TfCallContext &context,
124 const std::
string &msg);
127 Tf_PostWarningHelper(
128 const TfCallContext &context,
130 const std::
string &msg);
133 Tf_PostWarningHelper(
134 const TfCallContext &context,
139 Tf_PostWarningHelper(
140 const TfCallContext &context,
145 Tf_PostWarningHelper(
146 const TfCallContext &context,
147 const TfDiagnosticInfo &info,
149 const std::
string &msg);
152 Tf_PostWarningHelper(
153 const TfCallContext &context,
154 const TfDiagnosticInfo &info,
160 const TfCallContext &context,
165 const TfCallContext &context,
166 const std::
string &msg);
171 const TfCallContext &context,
173 const std::
string &msg);
177 const TfCallContext &context,
183 const TfCallContext &context,
184 const TfDiagnosticInfo &info,
186 const std::
string &msg);
190 const TfCallContext &context,
191 const TfDiagnosticInfo &info,
195 PXR_NAMESPACE_CLOSE_SCOPE
197 #endif // PXR_BASE_TF_DIAGNOSTIC_HELPER_H Define function attributes.
An enum class that records both enum type and enum value.
#define ARCH_PRINTF_FUNCTION(_fmt, _firstArg)
Macro used to indicate a function takes a printf-like specification.
TfDiagnosticType
Enum describing various diagnostic conditions.
Represents an object that contains error information.