7 #ifndef PXR_BASE_TF_DIAGNOSTIC_BASE_H 
    8 #define PXR_BASE_TF_DIAGNOSTIC_BASE_H 
  144     template <
typename T>
 
  146         return std::any_cast<
T>(&
_info);
 
  178                      const std::string& commentary,
 
  198 #endif // PXR_BASE_TF_DIAGNOSTIC_BASE_H 
std::string GetSourceFileName() const 
Return the source file name that the diagnostic message was posted from. 
 
TF_API TfDiagnosticBase(TfEnum code, char const *codeString, TfCallContext const &context, const std::string &commentary, TfDiagnosticInfo info, bool quiet)
Construct an instance. 
 
char const * GetPrettyFunction() const 
 
const TfCallContext & GetContext() const 
Return the call context where the message was issued. 
 
PXR_NAMESPACE_OPEN_SCOPE typedef std::any TfDiagnosticInfo
 
const std::string & GetDiagnosticCodeAsString() const 
 
const T * GetInfo() const 
 
size_t GetSourceLineNumber() const 
 
TfEnum GetDiagnosticCode() const 
Return the diagnostic code posted. 
 
TF_API bool IsCodingError() const 
 
bool any(const vbool4 &v)
 
char const * GetFile() const 
 
TF_API bool IsFatal() const 
Return true if this diagnostic's code is a fatal code. 
 
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
 
std::string GetSourceFunction() const 
Return the source function that the diagnostic message was posted from. 
 
#define PXR_NAMESPACE_CLOSE_SCOPE
 
void AugmentCommentary(const std::string &s)
 
char const * GetFunction() const 
 
PXR_NAMESPACE_OPEN_SCOPE ARCH_API std::string ArchGetPrettierFunctionName(const std::string &function, const std::string &prettyFunction)
 
void SetInfo(TfDiagnosticInfo any)
 
std::string const & GetCommentary() const 
Return the commentary string describing this diagnostic message.