7 #ifndef PXR_BASE_TF_ATOMIC_OFSTREAM_WRAPPER_H
8 #define PXR_BASE_TF_ATOMIC_OFSTREAM_WRAPPER_H
96 std::string _filePath;
97 std::string _tmpFilePath;
103 #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.
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)