webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
COMPropertyBag< ValueType, KeyType, HashType > Class Template Reference

#include <COMPropertyBag.h>

Inheritance diagram for COMPropertyBag< ValueType, KeyType, HashType >:

Public Types

typedef HashMap< KeyType, ValueType, HashType > HashMapType
 

Public Member Functions

virtual HRESULT STDMETHODCALLTYPE QueryInterface (_In_ REFIID riid, _COM_Outptr_ void **ppvObject)
 
virtual ULONG STDMETHODCALLTYPE AddRef ()
 
virtual ULONG STDMETHODCALLTYPE Release ()
 
virtual HRESULT STDMETHODCALLTYPE Read (LPCOLESTR pszPropName, VARIANT *, IErrorLog *)
 
virtual HRESULT STDMETHODCALLTYPE Write (_In_ LPCOLESTR pszPropName, _In_ VARIANT *)
 
virtual HRESULT STDMETHODCALLTYPE Read (ULONG cProperties, __inout_ecount_full(cProperties) PROPBAG2 *, _In_opt_ IErrorLog *, __out_ecount_full(cProperties) VARIANT *, __inout_ecount_full_opt(cProperties) HRESULT *)
 
virtual HRESULT STDMETHODCALLTYPE Write (ULONG cProperties, __inout_ecount_full(cProperties) PROPBAG2 *, __inout_ecount_full(cProperties) VARIANT *)
 
virtual HRESULT STDMETHODCALLTYPE CountProperties (_Out_ ULONG *pcProperties)
 
virtual HRESULT STDMETHODCALLTYPE GetPropertyInfo (ULONG iProperty, ULONG cProperties, __out_ecount_full(cProperties) PROPBAG2 *, _Out_ ULONG *pcProperties)
 
virtual HRESULT STDMETHODCALLTYPE LoadObject (_In_ LPCOLESTR pstrName, DWORD dwHint, _In_opt_ IUnknown *, _In_opt_ IErrorLog *)
 

Static Public Member Functions

static COMPropertyBagcreateInstance (const HashMapType &)
 
static COMPropertyBagadopt (HashMapType &)
 

Member Typedef Documentation

◆ HashMapType

template<typename ValueType , typename KeyType = typename WTF::String, typename HashType = typename WTF::StringHash>
typedef HashMap<KeyType, ValueType, HashType> COMPropertyBag< ValueType, KeyType, HashType >::HashMapType

Member Function Documentation

◆ AddRef()

template<typename ValueType , typename KeyType , typename HashType >
ULONG STDMETHODCALLTYPE COMPropertyBag< ValueType, KeyType, HashType >::AddRef ( )
virtual

◆ adopt()

template<typename ValueType , typename KeyType , typename HashType >
COMPropertyBag< ValueType, KeyType, HashType > * COMPropertyBag< ValueType, KeyType, HashType >::adopt ( HashMapType hashMap)
static

◆ CountProperties()

template<typename ValueType , typename KeyType , typename HashType >
HRESULT STDMETHODCALLTYPE COMPropertyBag< ValueType, KeyType, HashType >::CountProperties ( _Out_ ULONG pcProperties)
virtual

◆ createInstance()

template<typename ValueType , typename KeyType , typename HashType >
COMPropertyBag< ValueType, KeyType, HashType > * COMPropertyBag< ValueType, KeyType, HashType >::createInstance ( const HashMapType hashMap)
static

◆ GetPropertyInfo()

template<typename ValueType , typename KeyType , typename HashType >
HRESULT STDMETHODCALLTYPE COMPropertyBag< ValueType, KeyType, HashType >::GetPropertyInfo ( ULONG  iProperty,
ULONG  cProperties,
__out_ecount_full(cProperties) PROPBAG2 *  pPropBag,
_Out_ ULONG pcProperties 
)
virtual

◆ LoadObject()

template<typename ValueType , typename KeyType , typename HashType >
HRESULT STDMETHODCALLTYPE COMPropertyBag< ValueType, KeyType, HashType >::LoadObject ( _In_ LPCOLESTR  pstrName,
DWORD  dwHint,
_In_opt_ IUnknown *  ,
_In_opt_ IErrorLog *   
)
virtual

◆ QueryInterface()

template<typename ValueType , typename KeyType , typename HashType >
HRESULT STDMETHODCALLTYPE COMPropertyBag< ValueType, KeyType, HashType >::QueryInterface ( _In_ REFIID  riid,
_COM_Outptr_ void **  ppvObject 
)
virtual

◆ Read() [1/2]

template<typename ValueType , typename KeyType , typename HashType >
HRESULT STDMETHODCALLTYPE COMPropertyBag< ValueType, KeyType, HashType >::Read ( LPCOLESTR  pszPropName,
VARIANT *  pVar,
IErrorLog *  pErrorLog 
)
virtual

◆ Read() [2/2]

template<typename ValueType , typename KeyType , typename HashType >
HRESULT STDMETHODCALLTYPE COMPropertyBag< ValueType, KeyType, HashType >::Read ( ULONG  cProperties,
__inout_ecount_full(cProperties) PROPBAG2 *  pPropBag,
_In_opt_ IErrorLog *  pErrorLog,
__out_ecount_full(cProperties) VARIANT *  pvarValue,
__inout_ecount_full_opt(cProperties) HRESULT phrError 
)
virtual

◆ Release()

template<typename ValueType , typename KeyType , typename HashType >
ULONG STDMETHODCALLTYPE COMPropertyBag< ValueType, KeyType, HashType >::Release ( void  )
virtual

◆ Write() [1/2]

template<typename ValueType , typename KeyType , typename HashType >
HRESULT STDMETHODCALLTYPE COMPropertyBag< ValueType, KeyType, HashType >::Write ( _In_ LPCOLESTR  pszPropName,
_In_ VARIANT *  pVar 
)
virtual

◆ Write() [2/2]

template<typename ValueType , typename KeyType , typename HashType >
HRESULT STDMETHODCALLTYPE COMPropertyBag< ValueType, KeyType, HashType >::Write ( ULONG  cProperties,
__inout_ecount_full(cProperties) PROPBAG2 *  ,
__inout_ecount_full(cProperties) VARIANT *   
)
virtual

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