AJA NTV2 SDK  18.0.0.2717
NTV2 SDK 18.0.0.2717
CPersistStream Class Reference

#include <pstream.h>

Inheritance diagram for CPersistStream:
[legend]
Collaboration diagram for CPersistStream:
[legend]

Public Member Functions

STDMETHODIMP IsDirty ()
 
STDMETHODIMP Load (LPSTREAM pStm)
 
STDMETHODIMP Save (LPSTREAM pStm, BOOL fClearDirty)
 
STDMETHODIMP GetSizeMax (__out ULARGE_INTEGER *pcbSize)
 
 CPersistStream (IUnknown *punk, __inout HRESULT *phr)
 
 ~CPersistStream ()
 
HRESULT SetDirty (BOOL fDirty)
 
STDMETHODIMP GetClassID (__out CLSID *pClsid) PURE
 
virtual DWORD GetSoftwareVersion (void)
 
virtual int SizeMax ()
 
virtual HRESULT WriteToStream (IStream *pStream)
 
virtual HRESULT ReadFromStream (IStream *pStream)
 

Protected Attributes

DWORD mPS_dwFileVersion
 
BOOL mPS_fDirty
 

Detailed Description

Definition at line 47 of file pstream.h.

Constructor & Destructor Documentation

◆ CPersistStream()

CPersistStream::CPersistStream ( IUnknown *  punk,
__inout HRESULT *  phr 
)

Definition at line 21 of file pstream.cpp.

◆ ~CPersistStream()

CPersistStream::~CPersistStream ( )

Definition at line 31 of file pstream.cpp.

Member Function Documentation

◆ GetClassID()

STDMETHODIMP CPersistStream::GetClassID ( __out CLSID *  pClsid)

◆ GetSizeMax()

STDMETHODIMP CPersistStream::GetSizeMax ( __out ULARGE_INTEGER *  pcbSize)
inline

Definition at line 64 of file pstream.h.

◆ GetSoftwareVersion()

virtual DWORD CPersistStream::GetSoftwareVersion ( void  )
inlinevirtual

Definition at line 87 of file pstream.h.

◆ IsDirty()

STDMETHODIMP CPersistStream::IsDirty ( )
inline

Definition at line 60 of file pstream.h.

◆ Load()

STDMETHODIMP CPersistStream::Load ( LPSTREAM  pStm)

Definition at line 84 of file pstream.cpp.

◆ ReadFromStream()

HRESULT CPersistStream::ReadFromStream ( IStream *  pStream)
virtual

Definition at line 71 of file pstream.cpp.

◆ Save()

STDMETHODIMP CPersistStream::Save ( LPSTREAM  pStm,
BOOL  fClearDirty 
)

Definition at line 102 of file pstream.cpp.

◆ SetDirty()

HRESULT CPersistStream::SetDirty ( BOOL  fDirty)
inline

Definition at line 73 of file pstream.h.

◆ SizeMax()

virtual int CPersistStream::SizeMax ( )
inlinevirtual

Definition at line 95 of file pstream.h.

◆ WriteToStream()

HRESULT CPersistStream::WriteToStream ( IStream *  pStream)
virtual

Definition at line 61 of file pstream.cpp.

Member Data Documentation

◆ mPS_dwFileVersion

DWORD CPersistStream::mPS_dwFileVersion
protected

Definition at line 53 of file pstream.h.

◆ mPS_fDirty

BOOL CPersistStream::mPS_fDirty
protected

Definition at line 54 of file pstream.h.


The documentation for this class was generated from the following files: