All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TfStatus Class Reference

#include <status.h>

+ Inheritance diagram for TfStatus:


class TfDiagnosticMgr

Additional Inherited Members

- Public Member Functions inherited from TfDiagnosticBase
const TfCallContextGetContext () const
 Return the call context where the message was issued. More...
std::string GetSourceFileName () const
 Return the source file name that the diagnostic message was posted from. More...
size_t GetSourceLineNumber () const
std::string constGetCommentary () const
 Return the commentary string describing this diagnostic message. More...
std::string GetSourceFunction () const
 Return the source function that the diagnostic message was posted from. More...
void AugmentCommentary (const std::string &s)
TfEnum GetDiagnosticCode () const
 Return the diagnostic code posted. More...
const std::stringGetDiagnosticCodeAsString () const
template<typename T >
const TGetInfo () const
void SetInfo (TfDiagnosticInfo any)
bool GetQuiet () const
std::string GetPrettyPrintString () const
 Return the commentary string. More...
bool IsFatal () const
 Return true if this diagnostic's code is a fatal code. More...
bool IsCodingError () const
 TfDiagnosticBase (TfEnum code, char const *codeString, TfCallContext const &context, const std::string &commentary, TfDiagnosticInfo info, bool quiet)
 Construct an instance. More...
- Protected Attributes inherited from TfDiagnosticBase
TfCallContext _context
std::string _commentary
TfEnum _code
std::string _codeString
TfDiagnosticInfo _info
size_t _serial = 0
bool _quiet = false

Detailed Description

Represents an object that contains information about a status message.

See page_tf_Diagnostic in the C++ API reference for a detailed description of the status message issuing API. For a example of how to post a status message, see TF_STATUS(), also in the C++ API reference.

In the Python API, you can issue a status message with Tf.Status().

Definition at line 44 of file status.h.

Friends And Related Function Documentation

friend class TfDiagnosticMgr

Definition at line 54 of file status.h.

The documentation for this class was generated from the following file: