24 #ifndef PXR_USD_USD_UTILS_CONDITIONAL_ABORT_DIAGNOSTIC_DELEGATE_H
25 #define PXR_USD_USD_UTILS_CONDITIONAL_ABORT_DIAGNOSTIC_DELEGATE_H
50 const std::vector<std::string>& stringFilters,
51 const std::vector<std::string>& codePathFilters);
54 return _stringFilters;
58 return _codePathFilters;
66 std::vector<std::string> _stringFilters;
67 std::vector<std::string> _codePathFilters;
118 const UsdUtilsConditionalAbortDiagnosticDelegate& delegate) =
delete;
119 UsdUtilsConditionalAbortDiagnosticDelegate&
operator=(
120 const UsdUtilsConditionalAbortDiagnosticDelegate& delegate) =
delete;
133 const std::vector<TfPatternMatcher> _includePatternStringFilters;
134 const std::vector<TfPatternMatcher> _includePatternCodePathFilters;
135 const std::vector<TfPatternMatcher> _excludePatternStringFilters;
136 const std::vector<TfPatternMatcher> _excludePatternCodePathFilters;
142 const std::vector<TfPatternMatcher>& stringPatternFilters,
143 const std::vector<TfPatternMatcher>& codePathPatternFilters);
void IssueError(const TfError &err) override
Called when a TfError is posted.
GLsizei const GLchar *const * string
void IssueWarning(const TfWarning &warning) override
Called when a TF_WARNING() is issued.
const std::vector< std::string > & GetCodePathFilters() const
UsdUtilsConditionalAbortDiagnosticDelegate()=delete
UsdUtilsConditionalAbortDiagnosticDelegateErrorFilters()
const std::vector< std::string > & GetStringFilters() const
USDUTILS_API void SetStringFilters(const std::vector< std::string > &stringFilters)
void IssueStatus(const TfStatus &status) override
Called when a TF_STATUS() is issued.
UsdUtilsConditionalAbortDiagnosticDelegate & operator=(const UsdUtilsConditionalAbortDiagnosticDelegate &delegate)=delete
void IssueFatalError(const TfCallContext &ctx, const std::string &msg) override
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
virtual bool _RuleMatcher(const TfDiagnosticBase &err, const std::vector< TfPatternMatcher > &stringPatternFilters, const std::vector< TfPatternMatcher > &codePathPatternFilters)
USDUTILS_API void SetCodePathFilters(const std::vector< std::string > &codePathFilters)
#define PXR_NAMESPACE_CLOSE_SCOPE
virtual USDUTILS_API ~UsdUtilsConditionalAbortDiagnosticDelegate()
Handles the removal of this delegate from TfDiagnosticMgr.