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_IMPLBASE6_HXX_ 24cdf0e10cSrcweir #define _CPPUHELPER_IMPLBASE6_HXX_ 25cdf0e10cSrcweir 26cdf0e10cSrcweir #include <cppuhelper/implbase_ex.hxx> 27cdf0e10cSrcweir #include <rtl/instance.hxx> 28cdf0e10cSrcweir 29cdf0e10cSrcweir namespace cppu 30cdf0e10cSrcweir { 31cdf0e10cSrcweir /** @internal */ 32cdf0e10cSrcweir struct class_data6 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[ 6 + 1 ]; 39cdf0e10cSrcweir }; 40cdf0e10cSrcweir 41cdf0e10cSrcweir /** @internal */ 42cdf0e10cSrcweir template< typename Ifc1, typename Ifc2, typename Ifc3, typename Ifc4, typename Ifc5, typename Ifc6, typename Impl > 43cdf0e10cSrcweir struct ImplClassData6 44cdf0e10cSrcweir { operator ()cppu::ImplClassData645cdf0e10cSrcweir class_data* operator ()() 46cdf0e10cSrcweir { 47cdf0e10cSrcweir static class_data6 s_cd = 48cdf0e10cSrcweir { 49cdf0e10cSrcweir 6 +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 { { ::com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(::com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 } 59cdf0e10cSrcweir } 60cdf0e10cSrcweir }; 61cdf0e10cSrcweir return reinterpret_cast< class_data * >(&s_cd); 62cdf0e10cSrcweir } 63cdf0e10cSrcweir }; 64cdf0e10cSrcweir 65cdf0e10cSrcweir /** Implementation helper implementing interface ::com::sun::star::lang::XTypeProvider 66cdf0e10cSrcweir and method XInterface::queryInterface(), but no reference counting. 67cdf0e10cSrcweir 68cdf0e10cSrcweir @derive 69cdf0e10cSrcweir Inherit from this class giving your interface(s) to be implemented as template argument(s). 70cdf0e10cSrcweir Your sub class defines method implementations for these interface(s) including acquire()/ 71cdf0e10cSrcweir release() and delegates incoming queryInterface() calls to this base class. 72cdf0e10cSrcweir */ 73cdf0e10cSrcweir template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 > 74cdf0e10cSrcweir class SAL_NO_VTABLE ImplHelper6 75cdf0e10cSrcweir : public ::com::sun::star::lang::XTypeProvider 76cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6 77cdf0e10cSrcweir { 78cdf0e10cSrcweir /** @internal */ 79cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, ImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {}; 80cdf0e10cSrcweir public: queryInterface(::com::sun::star::uno::Type const & rType)81cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 82cdf0e10cSrcweir { return ImplHelper_query( rType, cd::get(), this ); } getTypes()83cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 84cdf0e10cSrcweir { return ImplHelper_getTypes( cd::get() ); } getImplementationId()85cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 86cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 87cdf0e10cSrcweir }; 88cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 89cdf0e10cSrcweir ::com::sun::star::uno::XInterface which supports weak mechanism to be held weakly 90cdf0e10cSrcweir (supporting ::com::sun::star::uno::XWeak thru ::cppu::OWeakObject). 91cdf0e10cSrcweir 92cdf0e10cSrcweir @derive 93cdf0e10cSrcweir Inherit from this class giving your interface(s) to be implemented as template argument(s). 94cdf0e10cSrcweir Your sub class defines method implementations for these interface(s). 95cdf0e10cSrcweir */ 96cdf0e10cSrcweir template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 > 97*4c5dbbf0SDamjan Jovanovic class SAL_DLLPUBLIC_EXPORT SAL_NO_VTABLE WeakImplHelper6 98cdf0e10cSrcweir : public OWeakObject 99cdf0e10cSrcweir , public ::com::sun::star::lang::XTypeProvider 100cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6 101cdf0e10cSrcweir { 102cdf0e10cSrcweir /** @internal */ 103cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {}; 104cdf0e10cSrcweir public: queryInterface(::com::sun::star::uno::Type const & rType)105cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 106cdf0e10cSrcweir { return WeakImplHelper_query( rType, cd::get(), this, (OWeakObject *)this ); } acquire()107cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 108cdf0e10cSrcweir { OWeakObject::acquire(); } release()109cdf0e10cSrcweir virtual void SAL_CALL release() throw () 110cdf0e10cSrcweir { OWeakObject::release(); } getTypes()111cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 112cdf0e10cSrcweir { return WeakImplHelper_getTypes( cd::get() ); } getImplementationId()113cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 114cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 115cdf0e10cSrcweir }; 116cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 117cdf0e10cSrcweir ::com::sun::star::uno::XInterface which supports weak mechanism to be held weakly 118cdf0e10cSrcweir (supporting ::com::sun::star::uno::XWeak thru ::cppu::OWeakAggObject). 119cdf0e10cSrcweir In addition, it supports also aggregation meaning object of this class can be aggregated 120cdf0e10cSrcweir (::com::sun::star::uno::XAggregation thru ::cppu::OWeakAggObject). 121cdf0e10cSrcweir If a delegator is set (this object is aggregated), then incoming queryInterface() 122cdf0e10cSrcweir calls are delegated to the delegator object. If the delegator does not support the 123cdf0e10cSrcweir demanded interface, it calls queryAggregation() on its aggregated objects. 124cdf0e10cSrcweir 125cdf0e10cSrcweir @derive 126cdf0e10cSrcweir Inherit from this class giving your interface(s) to be implemented as template argument(s). 127cdf0e10cSrcweir Your sub class defines method implementations for these interface(s). 128cdf0e10cSrcweir */ 129cdf0e10cSrcweir template< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 > 130cdf0e10cSrcweir class SAL_NO_VTABLE WeakAggImplHelper6 131cdf0e10cSrcweir : public OWeakAggObject 132cdf0e10cSrcweir , public ::com::sun::star::lang::XTypeProvider 133cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6 134cdf0e10cSrcweir { 135cdf0e10cSrcweir /** @internal */ 136cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakAggImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {}; 137cdf0e10cSrcweir public: queryInterface(::com::sun::star::uno::Type const & rType)138cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 139cdf0e10cSrcweir { return OWeakAggObject::queryInterface( rType ); } queryAggregation(::com::sun::star::uno::Type const & rType)140cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 141cdf0e10cSrcweir { return WeakAggImplHelper_queryAgg( rType, cd::get(), this, (OWeakAggObject *)this ); } acquire()142cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 143cdf0e10cSrcweir { OWeakAggObject::acquire(); } release()144cdf0e10cSrcweir virtual void SAL_CALL release() throw () 145cdf0e10cSrcweir { OWeakAggObject::release(); } getTypes()146cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 147cdf0e10cSrcweir { return WeakAggImplHelper_getTypes( cd::get() ); } getImplementationId()148cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 149cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 150cdf0e10cSrcweir }; 151cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 152cdf0e10cSrcweir ::com::sun::star::uno::XInterface inherting from a BaseClass. 153cdf0e10cSrcweir All acquire() and release() calls are delegated to the BaseClass. Upon queryInterface(), 154cdf0e10cSrcweir if a demanded interface is not supported by this class directly, the request is 155cdf0e10cSrcweir delegated to the BaseClass. 156cdf0e10cSrcweir 157cdf0e10cSrcweir @attention 158cdf0e10cSrcweir The BaseClass has to be complete in a sense, that ::com::sun::star::uno::XInterface 159cdf0e10cSrcweir and ::com::sun::star::lang::XTypeProvider are implemented properly. The 160cdf0e10cSrcweir BaseClass must have at least one ctor that can be called with six or 161cdf0e10cSrcweir fewer arguments, of which none is of non-const reference type. 162cdf0e10cSrcweir 163cdf0e10cSrcweir @derive 164cdf0e10cSrcweir Inherit from this class giving your additional interface(s) to be implemented as 165cdf0e10cSrcweir template argument(s). Your sub class defines method implementations for these interface(s). 166cdf0e10cSrcweir */ 167cdf0e10cSrcweir template< class BaseClass, class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 > 168cdf0e10cSrcweir class SAL_NO_VTABLE ImplInheritanceHelper6 169cdf0e10cSrcweir : public BaseClass 170cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6 171cdf0e10cSrcweir { 172cdf0e10cSrcweir /** @internal */ 173cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, ImplInheritanceHelper6<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {}; 174cdf0e10cSrcweir protected: 175cdf0e10cSrcweir template< typename T1 > ImplInheritanceHelper6(T1 const & arg1)176cdf0e10cSrcweir explicit ImplInheritanceHelper6(T1 const & arg1): BaseClass(arg1) {} 177cdf0e10cSrcweir template< typename T1, typename T2 > ImplInheritanceHelper6(T1 const & arg1,T2 const & arg2)178cdf0e10cSrcweir ImplInheritanceHelper6(T1 const & arg1, T2 const & arg2): 179cdf0e10cSrcweir BaseClass(arg1, arg2) {} 180cdf0e10cSrcweir template< typename T1, typename T2, typename T3 > ImplInheritanceHelper6(T1 const & arg1,T2 const & arg2,T3 const & arg3)181cdf0e10cSrcweir ImplInheritanceHelper6( 182cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3): 183cdf0e10cSrcweir BaseClass(arg1, arg2, arg3) {} 184cdf0e10cSrcweir template< typename T1, typename T2, typename T3, typename T4 > ImplInheritanceHelper6(T1 const & arg1,T2 const & arg2,T3 const & arg3,T4 const & arg4)185cdf0e10cSrcweir ImplInheritanceHelper6( 186cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4): 187cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4) {} 188cdf0e10cSrcweir template< 189cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5 > ImplInheritanceHelper6(T1 const & arg1,T2 const & arg2,T3 const & arg3,T4 const & arg4,T5 const & arg5)190cdf0e10cSrcweir ImplInheritanceHelper6( 191cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 192cdf0e10cSrcweir T5 const & arg5): 193cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5) {} 194cdf0e10cSrcweir template< 195cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5, 196cdf0e10cSrcweir typename T6 > ImplInheritanceHelper6(T1 const & arg1,T2 const & arg2,T3 const & arg3,T4 const & arg4,T5 const & arg5,T6 const & arg6)197cdf0e10cSrcweir ImplInheritanceHelper6( 198cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 199cdf0e10cSrcweir T5 const & arg5, T6 const & arg6): 200cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {} 201cdf0e10cSrcweir public: ImplInheritanceHelper6()202cdf0e10cSrcweir ImplInheritanceHelper6() {} queryInterface(::com::sun::star::uno::Type const & rType)203cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 204cdf0e10cSrcweir { 205cdf0e10cSrcweir ::com::sun::star::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(), this ) ); 206cdf0e10cSrcweir if (aRet.hasValue()) 207cdf0e10cSrcweir return aRet; 208cdf0e10cSrcweir return BaseClass::queryInterface( rType ); 209cdf0e10cSrcweir } acquire()210cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 211cdf0e10cSrcweir { BaseClass::acquire(); } release()212cdf0e10cSrcweir virtual void SAL_CALL release() throw () 213cdf0e10cSrcweir { BaseClass::release(); } getTypes()214cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 215cdf0e10cSrcweir { return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); } getImplementationId()216cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 217cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 218cdf0e10cSrcweir }; 219cdf0e10cSrcweir /** Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and 220cdf0e10cSrcweir ::com::sun::star::uno::XInterface inherting from a BaseClass. 221cdf0e10cSrcweir All acquire(), release() and queryInterface() calls are delegated to the BaseClass. 222cdf0e10cSrcweir Upon queryAggregation(), if a demanded interface is not supported by this class directly, 223cdf0e10cSrcweir the request is delegated to the BaseClass. 224cdf0e10cSrcweir 225cdf0e10cSrcweir @attention 226cdf0e10cSrcweir The BaseClass has to be complete in a sense, that ::com::sun::star::uno::XInterface, 227cdf0e10cSrcweir ::com::sun::star::uno::XAggregation and ::com::sun::star::lang::XTypeProvider 228cdf0e10cSrcweir are implemented properly. The BaseClass must have at least one ctor 229cdf0e10cSrcweir that can be called with six or fewer arguments, of which none is of 230cdf0e10cSrcweir non-const reference type. 231cdf0e10cSrcweir 232cdf0e10cSrcweir @derive 233cdf0e10cSrcweir Inherit from this class giving your additional interface(s) to be implemented as 234cdf0e10cSrcweir template argument(s). Your sub class defines method implementations for these interface(s). 235cdf0e10cSrcweir */ 236cdf0e10cSrcweir template< class BaseClass, class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 > 237cdf0e10cSrcweir class SAL_NO_VTABLE AggImplInheritanceHelper6 238cdf0e10cSrcweir : public BaseClass 239cdf0e10cSrcweir , public Ifc1, public Ifc2, public Ifc3, public Ifc4, public Ifc5, public Ifc6 240cdf0e10cSrcweir { 241cdf0e10cSrcweir /** @internal */ 242cdf0e10cSrcweir struct cd : public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, AggImplInheritanceHelper6<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {}; 243cdf0e10cSrcweir protected: 244cdf0e10cSrcweir template< typename T1 > AggImplInheritanceHelper6(T1 const & arg1)245cdf0e10cSrcweir explicit AggImplInheritanceHelper6(T1 const & arg1): BaseClass(arg1) {} 246cdf0e10cSrcweir template< typename T1, typename T2 > AggImplInheritanceHelper6(T1 const & arg1,T2 const & arg2)247cdf0e10cSrcweir AggImplInheritanceHelper6(T1 const & arg1, T2 const & arg2): 248cdf0e10cSrcweir BaseClass(arg1, arg2) {} 249cdf0e10cSrcweir template< typename T1, typename T2, typename T3 > AggImplInheritanceHelper6(T1 const & arg1,T2 const & arg2,T3 const & arg3)250cdf0e10cSrcweir AggImplInheritanceHelper6( 251cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3): 252cdf0e10cSrcweir BaseClass(arg1, arg2, arg3) {} 253cdf0e10cSrcweir template< typename T1, typename T2, typename T3, typename T4 > AggImplInheritanceHelper6(T1 const & arg1,T2 const & arg2,T3 const & arg3,T4 const & arg4)254cdf0e10cSrcweir AggImplInheritanceHelper6( 255cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4): 256cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4) {} 257cdf0e10cSrcweir template< 258cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5 > AggImplInheritanceHelper6(T1 const & arg1,T2 const & arg2,T3 const & arg3,T4 const & arg4,T5 const & arg5)259cdf0e10cSrcweir AggImplInheritanceHelper6( 260cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 261cdf0e10cSrcweir T5 const & arg5): 262cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5) {} 263cdf0e10cSrcweir template< 264cdf0e10cSrcweir typename T1, typename T2, typename T3, typename T4, typename T5, 265cdf0e10cSrcweir typename T6 > AggImplInheritanceHelper6(T1 const & arg1,T2 const & arg2,T3 const & arg3,T4 const & arg4,T5 const & arg5,T6 const & arg6)266cdf0e10cSrcweir AggImplInheritanceHelper6( 267cdf0e10cSrcweir T1 const & arg1, T2 const & arg2, T3 const & arg3, T4 const & arg4, 268cdf0e10cSrcweir T5 const & arg5, T6 const & arg6): 269cdf0e10cSrcweir BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {} 270cdf0e10cSrcweir public: AggImplInheritanceHelper6()271cdf0e10cSrcweir AggImplInheritanceHelper6() {} queryInterface(::com::sun::star::uno::Type const & rType)272cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 273cdf0e10cSrcweir { return BaseClass::queryInterface( rType ); } queryAggregation(::com::sun::star::uno::Type const & rType)274cdf0e10cSrcweir virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( ::com::sun::star::uno::Type const & rType ) throw (::com::sun::star::uno::RuntimeException) 275cdf0e10cSrcweir { 276cdf0e10cSrcweir ::com::sun::star::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(), this ) ); 277cdf0e10cSrcweir if (aRet.hasValue()) 278cdf0e10cSrcweir return aRet; 279cdf0e10cSrcweir return BaseClass::queryAggregation( rType ); 280cdf0e10cSrcweir } acquire()281cdf0e10cSrcweir virtual void SAL_CALL acquire() throw () 282cdf0e10cSrcweir { BaseClass::acquire(); } release()283cdf0e10cSrcweir virtual void SAL_CALL release() throw () 284cdf0e10cSrcweir { BaseClass::release(); } getTypes()285cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException) 286cdf0e10cSrcweir { return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); } getImplementationId()287cdf0e10cSrcweir virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException) 288cdf0e10cSrcweir { return ImplHelper_getImplementationId( cd::get() ); } 289cdf0e10cSrcweir }; 290cdf0e10cSrcweir } 291cdf0e10cSrcweir 292cdf0e10cSrcweir #endif 293