16da5f311SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 36da5f311SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 46da5f311SAndrew Rist * or more contributor license agreements. See the NOTICE file 56da5f311SAndrew Rist * distributed with this work for additional information 66da5f311SAndrew Rist * regarding copyright ownership. The ASF licenses this file 76da5f311SAndrew Rist * to you under the Apache License, Version 2.0 (the 86da5f311SAndrew Rist * "License"); you may not use this file except in compliance 96da5f311SAndrew Rist * with the License. You may obtain a copy of the License at 106da5f311SAndrew Rist * 116da5f311SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 126da5f311SAndrew Rist * 136da5f311SAndrew Rist * Unless required by applicable law or agreed to in writing, 146da5f311SAndrew Rist * software distributed under the License is distributed on an 156da5f311SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 166da5f311SAndrew Rist * KIND, either express or implied. See the License for the 176da5f311SAndrew Rist * specific language governing permissions and limitations 186da5f311SAndrew Rist * under the License. 196da5f311SAndrew Rist * 206da5f311SAndrew Rist *************************************************************/ 216da5f311SAndrew Rist 226da5f311SAndrew Rist 23cdf0e10cSrcweir #ifndef _CPPUHELPER_IMPLBASE9_HXX_ 24cdf0e10cSrcweir #define _CPPUHELPER_IMPLBASE9_HXX_ 25cdf0e10cSrcweir 26cdf0e10cSrcweir #include <cppuhelper/implbase_ex.hxx> 27cdf0e10cSrcweir #include <rtl/instance.hxx> 28cdf0e10cSrcweir 29cdf0e10cSrcweir namespace cppu 30cdf0e10cSrcweir { 31cdf0e10cSrcweir /** @internal */ 32cdf0e10cSrcweir struct class_data9 33cdf0e10cSrcweir { 34cdf0e10cSrcweir sal_Int16 m_nTypes; 35cdf0e10cSrcweir sal_Bool m_storedTypeRefs; 36cdf0e10cSrcweir sal_Bool m_storedId; 37cdf0e10cSrcweir sal_Int8 m_id[ 16 ]; 38cdf0e10cSrcweir type_entry m_typeEntries[ 9 + 1 ]; 39cdf0e10cSrcweir }; 40cdf0e10cSrcweir 41cdf0e10cSrcweir /** @internal */ 42cdf0e10cSrcweir template< typename Ifc1, typename Ifc2, typename Ifc3, typename Ifc4, typename Ifc5, typename Ifc6, typename Ifc7, typename Ifc8, typename Ifc9, typename Impl > 43cdf0e10cSrcweir struct ImplClassData9 44cdf0e10cSrcweir { operator ()cppu::ImplClassData945cdf0e10cSrcweir class_data* operator ()() 46cdf0e10cSrcweir { 47cdf0e10cSrcweir static class_data9 s_cd = 48cdf0e10cSrcweir { 49cdf0e10cSrcweir 9 +1, sal_False, sal_False, 50cdf0e10cSrcweir { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, 51cdf0e10cSrcweir { 52cdf0e10cSrcweir { { Ifc1::static_type }, ((sal_IntPtr)(Ifc1 *) (Impl *) 16) - 16 }, 53cdf0e10cSrcweir { { Ifc2::static_type }, ((sal_IntPtr)(Ifc2 *) (Impl *) 16) - 16 }, 54cdf0e10cSrcweir { { Ifc3::static_type }, ((sal_IntPtr)(Ifc3 *) (Impl *) 16) - 16 }, 55cdf0e10cSrcweir { { Ifc4::static_type }, ((sal_IntPtr)(Ifc4 *) (Impl *) 16) - 16 }, 56cdf0e10cSrcweir { { Ifc5::static_type }, ((sal_IntPtr)(Ifc5 *) (Impl *) 16) - 16 }, 57cdf0e10cSrcweir { { Ifc6::static_type }, ((sal_IntPtr)(Ifc6 *) (Impl *) 16) - 16 }, 58cdf0e10cSrcweir { { Ifc7::static_type }, ((sal_IntPtr)(Ifc7 *) (Impl *) 16) - 16 }, 59cdf0e10cSrcweir { { Ifc8::static_type }, ((sal_IntPtr)(Ifc8 *) (Impl *) 16) - 16 }, 60cdf0e10cSrcweir { { Ifc9::static_type }, ((sal_IntPtr)(Ifc9 *) (Impl *) 16) - 16 }, 61cdf0e10cSrcweir { { ::com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(::com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 } 62cdf0e10cSrcweir } 63cdf0e10cSrcweir }; 64cdf0e10cSrcweir return reinterpret_cast< class_data * >(&s_cd); 65cdf0e10cSrcweir } 66cdf0e10cSrcweir }; 67cdf0e10cSrcweir 68cdf0e10cSrcweir 69cdf0e10cSrcweir /** Implementation helper implementing interface ::com::sun::star::lang::XTypeProvider 70cdf0e10cSrcweir and method XInterface::queryInterface(), but no reference counting. 71cdf0e10cSrcweir 72cdf0e10cSrcweir @derive 73cdf0e10cSrcweir Inherit from this class giving your interface(s) to be implemented as template argument(s). 74cdf0e10cSrcweir Your sub class defines method implementations for these interface(s) including acquire()/ 75cdf0e10cSrcweir release() and delegates incoming queryInterface() calls to this base class. 76cdf0e10cSrcweir */ 77cdf0e10cSrcweir template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9 > 78cdf0e10cSrcweir class SAL_NO_VTABLE ImplHelper9 79cdf0e10cSrcweir : public ::com::sun::star::lang::XTypeProvider 80cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6, public Ifc7, public Ifc8, public Ifc9 81cdf0e10cSrcweir { 82cdf0e10cSrcweir /** @internal */ 83cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, ImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {}; 84cdf0e10cSrcweir public: queryInterface(::com::sun::star::uno::Type const & rType)85cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 86cdf0e10cSrcweir { return ImplHelper_query( rType, cd::get(), this ); } getTypes()87cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 88cdf0e10cSrcweir { return ImplHelper_getTypes( cd::get() ); } getImplementationId()89cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 90cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 91cdf0e10cSrcweir }; 92cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 93cdf0e10cSrcweir ::com::sun::star::uno::XInterface which supports weak mechanism to be held weakly 94cdf0e10cSrcweir (supporting ::com::sun::star::uno::XWeak thru ::cppu::OWeakObject). 95cdf0e10cSrcweir 96cdf0e10cSrcweir @derive 97cdf0e10cSrcweir Inherit from this class giving your interface(s) to be implemented as template argument(s). 98cdf0e10cSrcweir Your sub class defines method implementations for these interface(s). 99cdf0e10cSrcweir */ 100cdf0e10cSrcweir template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9 > 101*4c5dbbf0SDamjan Jovanovic class SAL_DLLPUBLIC_EXPORT SAL_NO_VTABLE WeakImplHelper9 102cdf0e10cSrcweir : public OWeakObject 103cdf0e10cSrcweir , public ::com::sun::star::lang::XTypeProvider 104cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6, public Ifc7, public Ifc8, public Ifc9 105cdf0e10cSrcweir { 106cdf0e10cSrcweir /** @internal */ 107cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, WeakImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {}; 108cdf0e10cSrcweir public: queryInterface(::com::sun::star::uno::Type const & rType)109cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 110cdf0e10cSrcweir { return WeakImplHelper_query( rType, cd::get(), this, (OWeakObject *)this ); } acquire()111cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 112cdf0e10cSrcweir { OWeakObject::acquire(); } release()113cdf0e10cSrcweir virtual void SAL_CALL release() throw () 114cdf0e10cSrcweir { OWeakObject::release(); } getTypes()115cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 116cdf0e10cSrcweir { return WeakImplHelper_getTypes( cd::get() ); } getImplementationId()117cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 118cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 121cdf0e10cSrcweir ::com::sun::star::uno::XInterface which supports weak mechanism to be held weakly 122cdf0e10cSrcweir (supporting ::com::sun::star::uno::XWeak thru ::cppu::OWeakAggObject). 123cdf0e10cSrcweir In addition, it supports also aggregation meaning object of this class can be aggregated 124cdf0e10cSrcweir (::com::sun::star::uno::XAggregation thru ::cppu::OWeakAggObject). 125cdf0e10cSrcweir If a delegator is set (this object is aggregated), then incoming queryInterface() 126cdf0e10cSrcweir calls are delegated to the delegator object. If the delegator does not support the 127cdf0e10cSrcweir demanded interface, it calls queryAggregation() on its aggregated objects. 128cdf0e10cSrcweir 129cdf0e10cSrcweir @derive 130cdf0e10cSrcweir Inherit from this class giving your interface(s) to be implemented as template argument(s). 131cdf0e10cSrcweir Your sub class defines method implementations for these interface(s). 132cdf0e10cSrcweir */ 133cdf0e10cSrcweir template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9 > 134cdf0e10cSrcweir class SAL_NO_VTABLE WeakAggImplHelper9 135cdf0e10cSrcweir : public OWeakAggObject 136cdf0e10cSrcweir , public ::com::sun::star::lang::XTypeProvider 137cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6, public Ifc7, public Ifc8, public Ifc9 138cdf0e10cSrcweir { 139cdf0e10cSrcweir /** @internal */ 140cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, WeakAggImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {}; 141cdf0e10cSrcweir public: queryInterface(::com::sun::star::uno::Type const & rType)142cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 143cdf0e10cSrcweir { return OWeakAggObject::queryInterface( rType ); } queryAggregation(::com::sun::star::uno::Type const & rType)144cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 145cdf0e10cSrcweir { return WeakAggImplHelper_queryAgg( rType, cd::get(), this, (OWeakAggObject *)this ); } acquire()146cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 147cdf0e10cSrcweir { OWeakAggObject::acquire(); } release()148cdf0e10cSrcweir virtual void SAL_CALL release() throw () 149cdf0e10cSrcweir { OWeakAggObject::release(); } getTypes()150cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 151cdf0e10cSrcweir { return WeakAggImplHelper_getTypes( cd::get() ); } getImplementationId()152cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 153cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 154cdf0e10cSrcweir }; 155cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 156cdf0e10cSrcweir ::com::sun::star::uno::XInterface inherting from a BaseClass. 157cdf0e10cSrcweir All acquire() and release() calls are delegated to the BaseClass. Upon queryInterface(), 158cdf0e10cSrcweir if a demanded interface is not supported by this class directly, the request is 159cdf0e10cSrcweir delegated to the BaseClass. 160cdf0e10cSrcweir 161cdf0e10cSrcweir @attention 162cdf0e10cSrcweir The BaseClass has to be complete in a sense, that ::com::sun::star::uno::XInterface 163cdf0e10cSrcweir and ::com::sun::star::lang::XTypeProvider are implemented properly. The 164cdf0e10cSrcweir BaseClass must have at least one ctor that can be called with six or 165cdf0e10cSrcweir fewer arguments, of which none is of non-const reference type. 166cdf0e10cSrcweir 167cdf0e10cSrcweir @derive 168cdf0e10cSrcweir Inherit from this class giving your additional interface(s) to be implemented as 169cdf0e10cSrcweir template argument(s). Your sub class defines method implementations for these interface(s). 170cdf0e10cSrcweir */ 171cdf0e10cSrcweir template< class BaseClass, class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9 > 172cdf0e10cSrcweir class SAL_NO_VTABLE ImplInheritanceHelper9 173cdf0e10cSrcweir : public BaseClass 174cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6, public Ifc7, public Ifc8, public Ifc9 175cdf0e10cSrcweir { 176cdf0e10cSrcweir /** @internal */ 177cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, ImplInheritanceHelper9<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {}; 178cdf0e10cSrcweir protected: 179cdf0e10cSrcweir template< typename T1 > ImplInheritanceHelper9(T1 const & arg1)180cdf0e10cSrcweir explicit ImplInheritanceHelper9(T1 const & arg1): BaseClass(arg1) {} 181cdf0e10cSrcweir template< typename T1, typename T2 > ImplInheritanceHelper9(T1 const & arg1,T2 const & arg2)182cdf0e10cSrcweir ImplInheritanceHelper9(T1 const & arg1, T2 const & arg2): 183cdf0e10cSrcweir BaseClass(arg1, arg2) {} 184cdf0e10cSrcweir template< typename T1, typename T2, typename T3 > ImplInheritanceHelper9(T1 const & arg1,T2 const & arg2,T3 const & arg3)185cdf0e10cSrcweir ImplInheritanceHelper9( 186cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3): 187cdf0e10cSrcweir BaseClass(arg1, arg2, arg3) {} 188cdf0e10cSrcweir template< typename T1, typename T2, typename T3, typename T4 > ImplInheritanceHelper9(T1 const & arg1,T2 const & arg2,T3 const & arg3,T4 const & arg4)189cdf0e10cSrcweir ImplInheritanceHelper9( 190cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4): 191cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4) {} 192cdf0e10cSrcweir template< 193cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5 > ImplInheritanceHelper9(T1 const & arg1,T2 const & arg2,T3 const & arg3,T4 const & arg4,T5 const & arg5)194cdf0e10cSrcweir ImplInheritanceHelper9( 195cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 196cdf0e10cSrcweir T5 const & arg5): 197cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5) {} 198cdf0e10cSrcweir template< 199cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5, 200cdf0e10cSrcweir typename T6 > ImplInheritanceHelper9(T1 const & arg1,T2 const & arg2,T3 const & arg3,T4 const & arg4,T5 const & arg5,T6 const & arg6)201cdf0e10cSrcweir ImplInheritanceHelper9( 202cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 203cdf0e10cSrcweir T5 const & arg5, T6 const & arg6): 204cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {} 205cdf0e10cSrcweir public: ImplInheritanceHelper9()206cdf0e10cSrcweir ImplInheritanceHelper9() {} queryInterface(::com::sun::star::uno::Type const & rType)207cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 208cdf0e10cSrcweir { 209cdf0e10cSrcweir ::com::sun::star::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(), this ) ); 210cdf0e10cSrcweir if (aRet.hasValue()) 211cdf0e10cSrcweir return aRet; 212cdf0e10cSrcweir return BaseClass::queryInterface( rType ); 213cdf0e10cSrcweir } acquire()214cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 215cdf0e10cSrcweir { BaseClass::acquire(); } release()216cdf0e10cSrcweir virtual void SAL_CALL release() throw () 217cdf0e10cSrcweir { BaseClass::release(); } getTypes()218cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 219cdf0e10cSrcweir { return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); } getImplementationId()220cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 221cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 222cdf0e10cSrcweir }; 223cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 224cdf0e10cSrcweir ::com::sun::star::uno::XInterface inherting from a BaseClass. 225cdf0e10cSrcweir All acquire(), release() and queryInterface() calls are delegated to the BaseClass. 226cdf0e10cSrcweir Upon queryAggregation(), if a demanded interface is not supported by this class directly, 227cdf0e10cSrcweir the request is delegated to the BaseClass. 228cdf0e10cSrcweir 229cdf0e10cSrcweir @attention 230cdf0e10cSrcweir The BaseClass has to be complete in a sense, that ::com::sun::star::uno::XInterface, 231cdf0e10cSrcweir ::com::sun::star::uno::XAggregation and ::com::sun::star::lang::XTypeProvider 232cdf0e10cSrcweir are implemented properly. The BaseClass must have at least one ctor 233cdf0e10cSrcweir that can be called with six or fewer arguments, of which none is of 234cdf0e10cSrcweir non-const reference type. 235cdf0e10cSrcweir 236cdf0e10cSrcweir @derive 237cdf0e10cSrcweir Inherit from this class giving your additional interface(s) to be implemented as 238cdf0e10cSrcweir template argument(s). Your sub class defines method implementations for these interface(s). 239cdf0e10cSrcweir */ 240cdf0e10cSrcweir template< class BaseClass, class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8, class Ifc9 > 241cdf0e10cSrcweir class SAL_NO_VTABLE AggImplInheritanceHelper9 242cdf0e10cSrcweir : public BaseClass 243cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6, public Ifc7, public Ifc8, public Ifc9 244cdf0e10cSrcweir { 245cdf0e10cSrcweir /** @internal */ 246cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, AggImplInheritanceHelper9<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {}; 247cdf0e10cSrcweir protected: 248cdf0e10cSrcweir template< typename T1 > AggImplInheritanceHelper9(T1 const & arg1)249cdf0e10cSrcweir explicit AggImplInheritanceHelper9(T1 const & arg1): BaseClass(arg1) {} 250cdf0e10cSrcweir template< typename T1, typename T2 > AggImplInheritanceHelper9(T1 const & arg1,T2 const & arg2)251cdf0e10cSrcweir AggImplInheritanceHelper9(T1 const & arg1, T2 const & arg2): 252cdf0e10cSrcweir BaseClass(arg1, arg2) {} 253cdf0e10cSrcweir template< typename T1, typename T2, typename T3 > AggImplInheritanceHelper9(T1 const & arg1,T2 const & arg2,T3 const & arg3)254cdf0e10cSrcweir AggImplInheritanceHelper9( 255cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3): 256cdf0e10cSrcweir BaseClass(arg1, arg2, arg3) {} 257cdf0e10cSrcweir template< typename T1, typename T2, typename T3, typename T4 > AggImplInheritanceHelper9(T1 const & arg1,T2 const & arg2,T3 const & arg3,T4 const & arg4)258cdf0e10cSrcweir AggImplInheritanceHelper9( 259cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4): 260cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4) {} 261cdf0e10cSrcweir template< 262cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5 > AggImplInheritanceHelper9(T1 const & arg1,T2 const & arg2,T3 const & arg3,T4 const & arg4,T5 const & arg5)263cdf0e10cSrcweir AggImplInheritanceHelper9( 264cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 265cdf0e10cSrcweir T5 const & arg5): 266cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5) {} 267cdf0e10cSrcweir template< 268cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5, 269cdf0e10cSrcweir typename T6 > AggImplInheritanceHelper9(T1 const & arg1,T2 const & arg2,T3 const & arg3,T4 const & arg4,T5 const & arg5,T6 const & arg6)270cdf0e10cSrcweir AggImplInheritanceHelper9( 271cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 272cdf0e10cSrcweir T5 const & arg5, T6 const & arg6): 273cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {} 274cdf0e10cSrcweir public: AggImplInheritanceHelper9()275cdf0e10cSrcweir AggImplInheritanceHelper9() {} queryInterface(::com::sun::star::uno::Type const & rType)276cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 277cdf0e10cSrcweir { return BaseClass::queryInterface( rType ); } queryAggregation(::com::sun::star::uno::Type const & rType)278cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 279cdf0e10cSrcweir { 280cdf0e10cSrcweir ::com::sun::star::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(), this ) ); 281cdf0e10cSrcweir if (aRet.hasValue()) 282cdf0e10cSrcweir return aRet; 283cdf0e10cSrcweir return BaseClass::queryAggregation( rType ); 284cdf0e10cSrcweir } acquire()285cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 286cdf0e10cSrcweir { BaseClass::acquire(); } release()287cdf0e10cSrcweir virtual void SAL_CALL release() throw () 288cdf0e10cSrcweir { BaseClass::release(); } getTypes()289cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 290cdf0e10cSrcweir { return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); } getImplementationId()291cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 292cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 293cdf0e10cSrcweir }; 294cdf0e10cSrcweir } 295cdf0e10cSrcweir 296cdf0e10cSrcweir #endif 297