24#include <com/sun/star/container/XIndexContainer.hpp>
25#include <com/sun/star/container/XIndexAccess.hpp>
26#include <com/sun/star/lang/XSingleComponentFactory.hpp>
27#include <com/sun/star/beans/PropertyValue.hpp>
29#include <rtl/ustring.hxx>
38class ConstItemContainer;
40typedef ::cppu::WeakImplHelper<
41 css::container::XIndexContainer,
53 RootItemContainer(
const css::uno::Reference< css::container::XIndexAccess >& rItemAccessContainer );
57 virtual void SAL_CALL
acquire() noexcept
override
58 { OWeakObject::acquire(); }
59 virtual void SAL_CALL
release() noexcept
override
60 { OWeakObject::release(); }
61 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type& type)
override;
64 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes( )
override;
67 virtual void SAL_CALL
insertByIndex( sal_Int32
Index,
const css::uno::Any& Element )
override;
72 virtual void SAL_CALL
replaceByIndex( sal_Int32
Index,
const css::uno::Any& Element )
override;
75 virtual sal_Int32 SAL_CALL
getCount()
override;
88 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceWithContext(
const css::uno::Reference< css::uno::XComponentContext >& Context )
override;
89 virtual css::uno::Reference< css::uno::XInterface > SAL_CALL
createInstanceWithArgumentsAndContext(
const css::uno::Sequence< css::uno::Any >& Arguments,
const css::uno::Reference< css::uno::XComponentContext >& Context )
override;
94 css::uno::Any& aOldValue ,
96 const css::uno::Any& aValue )
override;
98 const css::uno::Any& aValue )
override;
101 sal_Int32 nHandle )
const override;
102 virtual ::cppu::IPropertyArrayHelper& SAL_CALL
getInfoHelper()
override;
103 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo()
override;
110 css::uno::Reference< css::container::XIndexAccess >
deepCopyContainer(
const css::uno::Reference< css::container::XIndexAccess >& rSubContainer );
113 std::vector< css::uno::Sequence< css::beans::PropertyValue > >
m_aItemVector;
virtual css::uno::Any SAL_CALL getFastPropertyValue(sal_Int32 nHandle) SAL_OVERRIDE
RootItemContainer(const css::uno::Reference< css::container::XIndexAccess > &rItemAccessContainer)
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &aValue, sal_Int32 nHandle) const override
virtual void SAL_CALL replaceByIndex(sal_Int32 Index, const css::uno::Any &Element) override
virtual sal_Bool SAL_CALL hasElements() override
virtual void SAL_CALL acquire() noexcept override
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &aValue) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual css::uno::Type SAL_CALL getElementType() override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
std::vector< css::uno::Sequence< css::beans::PropertyValue > > m_aItemVector
RootItemContainer(const RootItemContainer &)=delete
virtual void SAL_CALL removeByIndex(sal_Int32 Index) override
virtual void SAL_CALL insertByIndex(sal_Int32 Index, const css::uno::Any &Element) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArgumentsAndContext(const css::uno::Sequence< css::uno::Any > &Arguments, const css::uno::Reference< css::uno::XComponentContext > &Context) override
static css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor()
RootItemContainer & operator=(const RootItemContainer &)=delete
virtual sal_Bool SAL_CALL convertFastPropertyValue(css::uno::Any &aConvertedValue, css::uno::Any &aOldValue, sal_Int32 nHandle, const css::uno::Any &aValue) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
css::uno::Reference< css::container::XIndexAccess > deepCopyContainer(const css::uno::Reference< css::container::XIndexAccess > &rSubContainer)
virtual void SAL_CALL release() noexcept override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &type) override
virtual sal_Int32 SAL_CALL getCount() override
ShareableMutex m_aShareMutex
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithContext(const css::uno::Reference< css::uno::XComponentContext > &Context) override
virtual ~RootItemContainer() override
This acts like a rtl::Reference<osl::Mutex>
::cppu::WeakImplHelper< css::container::XIndexContainer, css::lang::XSingleComponentFactory > RootItemContainer_BASE