24#ifndef PXR_BASE_TF_ERROR_TRANSPORT_H
25#define PXR_BASE_TF_ERROR_TRANSPORT_H
32#include "pxr/base/tf/api.h"
34PXR_NAMESPACE_OPEN_SCOPE
49 typedef TfDiagnosticMgr::ErrorList ErrorList;
63 bool IsEmpty()
const {
return _errorList.empty(); }
69 _errorList.swap(other._errorList);
76 ErrorList::iterator first,
77 ErrorList::iterator last) {
78 _errorList.splice(_errorList.begin(), src, first, last);
93PXR_NAMESPACE_CLOSE_SCOPE
Class used to record the end of the error-list.
A facility for transporting errors from thread to thread.
void Post()
Post all contained errors to the current thread's error list, leaving this TfErrorTransport empty.
void swap(TfErrorTransport &other)
Swap this TfErrorTransport's content with other.
bool IsEmpty() const
Return true if this TfErrorTransport contains no errors, false otherwise.
TfErrorTransport()
Construct an empty TfErrorTransport.