24 #ifndef PXR_BASE_TF_ATOMIC_OFSTREAM_WRAPPER_H
25 #define PXR_BASE_TF_ATOMIC_OFSTREAM_WRAPPER_H
33 #include <hboost/noncopyable.hpp>
119 #endif // PXR_BASE_TF_ATOMIC_OFSTREAM_WRAPPER_H
TF_API bool Commit(std::string *reason=0)
TF_API bool Cancel(std::string *reason=0)
Closes the temporary file and removes it from disk, if it exists.
TF_API TfAtomicOfstreamWrapper(const std::string &filePath)
Constructor.
GLsizei const GLchar *const * string
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
std::ofstream & GetStream()
TF_API ~TfAtomicOfstreamWrapper()
Destructor. Calls Cancel().
TF_API bool Open(std::string *reason=0)