LibreOffice Module shell (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CPropertyHdl Class Reference

#include <propertyhdl.hxx>

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

Public Member Functions

 CPropertyHdl (LONG RefCnt=1)
 
virtual ~CPropertyHdl ()
 
virtual HRESULT STDMETHODCALLTYPE QueryInterface (REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
 
virtual ULONG STDMETHODCALLTYPE AddRef () override
 
virtual ULONG STDMETHODCALLTYPE Release () override
 
virtual HRESULT STDMETHODCALLTYPE GetCount (DWORD *pcProps) override
 
virtual HRESULT STDMETHODCALLTYPE GetAt (DWORD iProp, PROPERTYKEY *pkey) override
 
virtual HRESULT STDMETHODCALLTYPE GetValue (REFPROPERTYKEY key, PROPVARIANT *pPropVar) override
 
virtual HRESULT STDMETHODCALLTYPE SetValue (REFPROPERTYKEY key, REFPROPVARIANT propVar) override
 
virtual HRESULT STDMETHODCALLTYPE Commit () override
 
virtual HRESULT STDMETHODCALLTYPE IsPropertyWritable (REFPROPERTYKEY key) override
 
virtual HRESULT STDMETHODCALLTYPE Initialize (IStream *pStream, DWORD grfMode) override
 

Private Member Functions

void LoadProperties (CMetaInfoReader *pMetaInfoReader)
 

Private Attributes

LONG m_RefCnt
 
IPropertyStoreCache * m_pCache
 

Detailed Description

Definition at line 31 of file propertyhdl.hxx.

Constructor & Destructor Documentation

◆ CPropertyHdl()

CPropertyHdl::CPropertyHdl ( LONG  RefCnt = 1)

Definition at line 54 of file propertyhdl.cxx.

References g_DllRefCnt, m_pCache, and OutputDebugStringFormatW().

◆ ~CPropertyHdl()

CPropertyHdl::~CPropertyHdl ( )
virtual

Definition at line 63 of file propertyhdl.cxx.

References g_DllRefCnt, and m_pCache.

Member Function Documentation

◆ AddRef()

ULONG STDMETHODCALLTYPE CPropertyHdl::AddRef ( )
overridevirtual

Definition at line 110 of file propertyhdl.cxx.

References m_RefCnt.

◆ Commit()

HRESULT STDMETHODCALLTYPE CPropertyHdl::Commit ( )
overridevirtual

Definition at line 177 of file propertyhdl.cxx.

◆ GetAt()

HRESULT STDMETHODCALLTYPE CPropertyHdl::GetAt ( DWORD  iProp,
PROPERTYKEY *  pkey 
)
overridevirtual

Definition at line 141 of file propertyhdl.cxx.

References hr, and m_pCache.

◆ GetCount()

HRESULT STDMETHODCALLTYPE CPropertyHdl::GetCount ( DWORD *  pcProps)
overridevirtual

Definition at line 129 of file propertyhdl.cxx.

References hr, and m_pCache.

◆ GetValue()

HRESULT STDMETHODCALLTYPE CPropertyHdl::GetValue ( REFPROPERTYKEY  key,
PROPVARIANT *  pPropVar 
)
overridevirtual

Definition at line 153 of file propertyhdl.cxx.

References hr, and m_pCache.

◆ Initialize()

HRESULT STDMETHODCALLTYPE CPropertyHdl::Initialize ( IStream *  pStream,
DWORD  grfMode 
)
overridevirtual

Definition at line 195 of file propertyhdl.cxx.

References LoadProperties(), m_pCache, and OutputDebugStringFormatW().

◆ IsPropertyWritable()

HRESULT STDMETHODCALLTYPE CPropertyHdl::IsPropertyWritable ( REFPROPERTYKEY  key)
overridevirtual

Definition at line 186 of file propertyhdl.cxx.

◆ LoadProperties()

void CPropertyHdl::LoadProperties ( CMetaInfoReader pMetaInfoReader)
private

Definition at line 275 of file propertyhdl.cxx.

References g_rgPROPERTIES, gPropertyTableSize, hr, i, m_pCache, and OutputDebugStringFormatW().

Referenced by Initialize().

◆ QueryInterface()

HRESULT STDMETHODCALLTYPE CPropertyHdl::QueryInterface ( REFIID  riid,
void __RPC_FAR *__RPC_FAR *  ppvObject 
)
overridevirtual

Definition at line 76 of file propertyhdl.cxx.

References OutputDebugStringFormatW().

◆ Release()

ULONG STDMETHODCALLTYPE CPropertyHdl::Release ( )
overridevirtual

Definition at line 116 of file propertyhdl.cxx.

References LONG, and m_RefCnt.

◆ SetValue()

HRESULT STDMETHODCALLTYPE CPropertyHdl::SetValue ( REFPROPERTYKEY  key,
REFPROPVARIANT  propVar 
)
overridevirtual

Definition at line 166 of file propertyhdl.cxx.

References hr, and m_pCache.

Member Data Documentation

◆ m_pCache

IPropertyStoreCache* CPropertyHdl::m_pCache
private

◆ m_RefCnt

LONG CPropertyHdl::m_RefCnt
private

Definition at line 71 of file propertyhdl.hxx.

Referenced by AddRef(), and Release().


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