home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

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


Field Summary
protected CString m_strMirrorName
          
   
Fields inherited from class CFile
classCFile, m_hFile, m_bCloseOnDelete, m_strFileName
   
Fields inherited from class CObject
classCObject
 
Method Summary
 virtual void Abort()
          
 virtual void Close()
          
 static CString GetTempName( LPCTSTR pstrOriginalFile, BOOL bCreate )
          
 virtual BOOL Open( LPCTSTR lpszFileName, UINT nOpenFlags, CFileException* pError = NULL )
          
   
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
   
Methods inherited from class CObject
GetRuntimeClass, new, new, delete, IsSerializable, IsKindOf, Serialize
 

Field Detail

m_strMirrorName

protected CString m_strMirrorName;


Method Detail

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 );

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD