7#ifndef PXR_BASE_TF_ERROR_TRANSPORT_H
8#define PXR_BASE_TF_ERROR_TRANSPORT_H
15#include "pxr/base/tf/api.h"
17PXR_NAMESPACE_OPEN_SCOPE
32 typedef TfDiagnosticMgr::ErrorList ErrorList;
46 bool IsEmpty()
const {
return _errorList.empty(); }
52 _errorList.swap(other._errorList);
59 ErrorList::iterator first,
60 ErrorList::iterator last) {
61 _errorList.splice(_errorList.begin(), src, first, last);
76PXR_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.