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 CMonikerFile

CObject
   |
   +--CFile
         |
         +--COleStreamFile
               |
               +--CMonikerFile

   in AFXOLE.H
Direct Known Subclasses:
CAsyncMonikerFile

class CMonikerFile
extends COleStreamFile

CMonikerFile - implementation of COleStreamFile that uses an IMoniker to get the IStream


 
Fields inherited from class COleStreamFile
m_lpStream, m_strStorageName
   
Fields inherited from class CFile
classCFile, m_hFile, m_bCloseOnDelete, m_strFileName
   
Fields inherited from class CObject
classCObject
 
Constructor Summary
protected  CMonikerFile( const CMonikerFile& )
          
  CMonikerFile()
          
  virtual ~CMonikerFile()
          
 
Method Summary
protected BOOL Attach( LPCTSTR lpszUrl, IBindHost* pBindHost, IBindStatusCallback* pBSC, IBindCtx* pBindCtx, CFileException* pError )
          
protected BOOL Attach( IMoniker* pMoniker, IBindHost* pBindHost, IBindStatusCallback* pBSC, IBindCtx* pBindCtx, CFileException* pError )
          
 virtual void Close()
          
protected IBindCtx* CreateBindContext( CFileException* pError )
          
protected static IBindHost* CreateBindHost()
          
 BOOL Detach( CFileException* pError = NULL )
          
 virtual void Flush()
          
 IMoniker* GetMoniker() const
          
protected  IPTR( IMoniker ) m_Moniker
          
protected virtual BOOL Open( IMoniker* pMoniker, IBindHost* pBindHost, IBindStatusCallback* pBSC, IBindCtx* pBindCtx, CFileException* pError )
          
 virtual BOOL Open( IMoniker* pMoniker, CFileException* pError = NULL )
          
protected virtual BOOL Open( LPCTSTR lpszUrl, IBindHost* pBindHost, IBindStatusCallback* pBSC, IBindCtx* pBindCtx, CFileException* pError )
          
 virtual BOOL Open( LPCTSTR lpszURL, CFileException* pError = NULL )
          
protected virtual BOOL PostBindToStream( CFileException* pError )
          
   
Methods inherited from class COleStreamFile
OpenStream, CreateStream, CreateMemoryStream, Attach, Detach, GetStream, GetStatus, GetPosition, GetStorageName, Duplicate, Seek, SetLength, GetLength, Read, Write, LockRange, UnlockRange, Abort, Flush, Close
   
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
 

Constructor Detail

CMonikerFile

protected CMonikerFile( const CMonikerFile& );

CMonikerFile

public CMonikerFile();

~CMonikerFile

public virtual ~CMonikerFile();


Method Detail

Attach

protected BOOL Attach( LPCTSTR lpszUrl, IBindHost* pBindHost, IBindStatusCallback* pBSC, IBindCtx* pBindCtx, CFileException* pError );

Attach

protected BOOL Attach( IMoniker* pMoniker, IBindHost* pBindHost, IBindStatusCallback* pBSC, IBindCtx* pBindCtx, CFileException* pError );

Close

public virtual void Close();

CreateBindContext

protected IBindCtx* CreateBindContext( CFileException* pError );

CreateBindHost

protected static IBindHost* CreateBindHost();

Detach

public BOOL Detach( CFileException* pError = NULL );

Flush

public virtual void Flush();

GetMoniker

public IMoniker* GetMoniker() const;

IPTR

protected IPTR( IMoniker ) m_Moniker;

Open

protected virtual BOOL Open( IMoniker* pMoniker, IBindHost* pBindHost, IBindStatusCallback* pBSC, IBindCtx* pBindCtx, CFileException* pError );

Open

public virtual BOOL Open( IMoniker* pMoniker, CFileException* pError = NULL );

Open

protected virtual BOOL Open( LPCTSTR lpszUrl, IBindHost* pBindHost, IBindStatusCallback* pBSC, IBindCtx* pBindCtx, CFileException* pError );

Open

public virtual BOOL Open( LPCTSTR lpszURL, CFileException* pError = NULL );

PostBindToStream

protected virtual BOOL PostBindToStream( CFileException* pError );

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