22#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
48 OWeakObject::acquire();
53 OWeakObject::release();
58 Any a = ::cppu::queryInterface(
60 static_cast< XIndexContainer*
>(
this),
61 static_cast< XIndexReplace*
>(
this),
62 static_cast< XIndexAccess*
>(
this),
63 static_cast< XElementAccess*
>(
this) );
70 return OWeakObject::queryInterface( rType );
81 throw IndexOutOfBoundsException( OUString(),
static_cast<OWeakObject *
>(
this) );
85 if ( !(Element >>= aPropertySetElement) )
87 throw IllegalArgumentException(
107 throw IndexOutOfBoundsException( OUString(),
static_cast<OWeakObject *
>(
this) );
118 throw IndexOutOfBoundsException( OUString(),
static_cast<OWeakObject *
>(
this) );
122 if ( !(Element >>= aPropertySetElement) )
124 throw IllegalArgumentException(
145 throw IndexOutOfBoundsException( OUString(),
static_cast<OWeakObject *
>(
this) );
virtual sal_Bool SAL_CALL hasElements() override
virtual void SAL_CALL acquire() noexcept override
virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 Index) override
virtual void SAL_CALL insertByIndex(sal_Int32 Index, const css::uno::Any &Element) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
virtual void SAL_CALL release() noexcept override
PropertySetVector m_aPropertySetVector
virtual ~PropertySetContainer() override
virtual sal_Int32 SAL_CALL getCount() override
virtual void SAL_CALL removeByIndex(sal_Int32 Index) override
virtual void SAL_CALL replaceByIndex(sal_Int32 Index, const css::uno::Any &Element) override
constexpr OUStringLiteral WRONG_TYPE_EXCEPTION