This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
warning.h
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_TF_WARNING_H
8#define PXR_BASE_TF_WARNING_H
9
10#include "pxr/pxr.h"
11
13
14PXR_NAMESPACE_OPEN_SCOPE
15
28{
29private:
30 TfWarning(TfEnum warningCode, char const *warningCodeString,
31 TfCallContext const &context, const std::string& commentary,
32 TfDiagnosticInfo info, bool quiet)
33 : TfDiagnosticBase(warningCode, warningCodeString, context,
34 commentary, info, quiet)
35 { }
36
37 friend class TfDiagnosticMgr;
38};
39
40PXR_NAMESPACE_CLOSE_SCOPE
41
42#endif // PXR_BASE_TF_WARNING_H
Represents the base class of an object representing a diagnostic message.
Singleton class through which all errors and diagnostics pass.
Definition: diagnosticMgr.h:54
An enum class that records both enum type and enum value.
Definition: enum.h:120
Represents an object that contains information about a warning.
Definition: warning.h:28