All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
status.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_STATUS_H
8#define PXR_BASE_TF_STATUS_H
9
10#include "pxr/pxr.h"
11
13
14PXR_NAMESPACE_OPEN_SCOPE
15
28{
29private:
30 TfStatus(TfEnum statusCode, char const *statusCodeString,
31 TfCallContext const &context, const std::string& commentary,
32 TfDiagnosticInfo info, bool quiet)
33 : TfDiagnosticBase(statusCode, statusCodeString, context,
34 commentary, info, quiet)
35 { }
36
37 friend class TfDiagnosticMgr;
38};
39
40PXR_NAMESPACE_CLOSE_SCOPE
41
42#endif // PXR_BASE_TF_STATUS_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 status message.
Definition: status.h:28