9#ifndef INCLUDED_SVL_GRABBAGITEM_HXX
10#define INCLUDED_SVL_GRABBAGITEM_HXX
16#include <com/sun/star/uno/Any.hxx>
22 std::map<OUString, css::uno::Any>
m_aMap;
34 const std::map<OUString, css::uno::Any>&
GetGrabBag()
const {
return m_aMap; }
36 std::map<OUString, css::uno::Any>&
GetGrabBag() {
return m_aMap; }
Grab bag item provides a string-any map for keys with untyped values.
SfxGrabBagItem & operator=(SfxGrabBagItem const &)=delete
const std::map< OUString, css::uno::Any > & GetGrabBag() const
SfxGrabBagItem(SfxGrabBagItem const &)=default
std::map< OUString, css::uno::Any > & GetGrabBag()
SfxGrabBagItem(SfxGrabBagItem &&)=default
SfxGrabBagItem & operator=(SfxGrabBagItem &&)=delete
std::map< OUString, css::uno::Any > m_aMap
~SfxGrabBagItem() override
Base class for providers of defaults of SfxPoolItems.
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
virtual bool operator==(const SfxPoolItem &) const =0
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId)
virtual SfxPoolItem * Clone(SfxItemPool *pPool=nullptr) const =0