24#include <com/sun/star/container/XIndexContainer.hpp>
25#include <com/sun/star/beans/PropertyValue.hpp>
33class ConstItemContainer;
34class ItemContainer final :
public ::cppu::WeakImplHelper< css::container::XIndexContainer>
47 virtual void SAL_CALL
insertByIndex( sal_Int32
Index,
const css::uno::Any& Element )
override;
52 virtual void SAL_CALL
replaceByIndex( sal_Int32
Index,
const css::uno::Any& Element )
override;
55 virtual sal_Int32 SAL_CALL
getCount()
override;
69 css::uno::Reference< css::container::XIndexAccess >
deepCopyContainer(
const css::uno::Reference< css::container::XIndexAccess >& rSubContainer,
const ShareableMutex& rMutex );
72 std::vector< css::uno::Sequence< css::beans::PropertyValue > >
m_aItemVector;
ItemContainer(const css::uno::Reference< css::container::XIndexAccess > &rItemAccessContainer, const ShareableMutex &rMutex)
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual ~ItemContainer() override
virtual sal_Int32 SAL_CALL getCount() override
css::uno::Reference< css::container::XIndexAccess > deepCopyContainer(const css::uno::Reference< css::container::XIndexAccess > &rSubContainer, const ShareableMutex &rMutex)
virtual void SAL_CALL insertByIndex(sal_Int32 Index, const css::uno::Any &Element) override
ShareableMutex m_aShareMutex
virtual css::uno::Type SAL_CALL getElementType() override
ItemContainer(const ShareableMutex &)
virtual void SAL_CALL removeByIndex(sal_Int32 Index) override
virtual void SAL_CALL replaceByIndex(sal_Int32 Index, const css::uno::Any &Element) override
virtual sal_Bool SAL_CALL hasElements() override
void copyItemContainer(const std::vector< css::uno::Sequence< css::beans::PropertyValue > > &rSourceVector, const ShareableMutex &rMutex)
std::vector< css::uno::Sequence< css::beans::PropertyValue > > m_aItemVector
This acts like a rtl::Reference<osl::Mutex>