MFC
Class CMirrorFile
CObject
|
+--CFile
|
+--CMirrorFile
in AFXPRIV.H
- class CMirrorFile
- extends CFile
Robust file save support
opens a temp file if modeCreate specified and enough free space
renaming, etc occurs automatically if everything succeeds
| Methods inherited from class CFile |
GetRuntimeClass, HFILE, GetPosition, GetStatus, GetFileName, GetFileTitle, GetFilePath, SetFilePath, Open, Rename, Remove, GetStatus, SetStatus, SeekToEnd, SeekToBegin, ReadHuge, WriteHuge, Duplicate, Seek, SetLength, GetLength, Read, Write, LockRange, UnlockRange, Abort, Flush, Close, GetBufferPtr |
m_strMirrorName
protected CString m_strMirrorName;
Abort
public virtual void Abort();
Close
public virtual void Close();
GetTempName
public static CString GetTempName( LPCTSTR pstrOriginalFile, BOOL bCreate );
Open
public virtual BOOL Open( LPCTSTR lpszFileName, UINT nOpenFlags, CFileException* pError = NULL );