23#ifndef INCLUDED_CPPUHELPER_IMPLBASE6_HXX
24#define INCLUDED_CPPUHELPER_IMPLBASE6_HXX
27#include "rtl/instance.hxx"
30#include "com/sun/star/lang/XTypeProvider.hpp"
42 type_entry m_typeEntries[ 6 + 1 ];
45 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Impl >
48 class_data* operator ()()
50 static class_data6 s_cd =
53 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
55 CPPUHELPER_DETAIL_TYPEENTRY(Ifc1),
56 CPPUHELPER_DETAIL_TYPEENTRY(Ifc2),
57 CPPUHELPER_DETAIL_TYPEENTRY(Ifc3),
58 CPPUHELPER_DETAIL_TYPEENTRY(Ifc4),
59 CPPUHELPER_DETAIL_TYPEENTRY(Ifc5),
60 CPPUHELPER_DETAIL_TYPEENTRY(Ifc6),
61 CPPUHELPER_DETAIL_TYPEENTRY(css::lang::XTypeProvider)
64 return reinterpret_cast< class_data *
>(&s_cd);
78 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
80 :
public css::lang::XTypeProvider
81 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
83 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, ImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
85#if defined LIBO_INTERNAL_ONLY
93 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
95 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
113 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
116 ,
public css::lang::XTypeProvider
117 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
119 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
121 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
123 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
125 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
127 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
145 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
148 ,
public css::lang::XTypeProvider
149 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
151 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakAggImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
153 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
155 virtual css::uno::Any SAL_CALL
queryAggregation( css::uno::Type
const & rType ) SAL_OVERRIDE
157 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
159 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
161 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
182 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
185 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
187 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, ImplInheritanceHelper6<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
189 template<
typename T1 >
191 template<
typename T1,
typename T2 >
193 BaseClass(arg1, arg2) {}
194 template<
typename T1,
typename T2,
typename T3 >
196 T1
const & arg1, T2
const & arg2, T3
const & arg3):
197 BaseClass(arg1, arg2, arg3) {}
198 template<
typename T1,
typename T2,
typename T3,
typename T4 >
200 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
201 BaseClass(arg1, arg2, arg3, arg4) {}
203 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
205 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
207 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
209 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
212 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
213 T5
const & arg5, T6
const & arg6):
214 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
217 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
224 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
225 { BaseClass::acquire(); }
226 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
227 { BaseClass::release(); }
228 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
250 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
253 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
255 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, AggImplInheritanceHelper6<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
257 template<
typename T1 >
259 template<
typename T1,
typename T2 >
261 BaseClass(arg1, arg2) {}
262 template<
typename T1,
typename T2,
typename T3 >
264 T1
const & arg1, T2
const & arg2, T3
const & arg3):
265 BaseClass(arg1, arg2, arg3) {}
266 template<
typename T1,
typename T2,
typename T3,
typename T4 >
268 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
269 BaseClass(arg1, arg2, arg3, arg4) {}
271 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
273 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
275 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
277 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
280 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
281 T5
const & arg5, T6
const & arg6):
282 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
285 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
287 virtual css::uno::Any SAL_CALL
queryAggregation( css::uno::Type
const & rType ) SAL_OVERRIDE
292 return BaseClass::queryAggregation( rType );
294 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
295 { BaseClass::acquire(); }
296 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
297 { BaseClass::release(); }
298 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2)
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
AggImplInheritanceHelper6()
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
AggImplInheritanceHelper6(T1 const &arg1)
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3)
virtual css::uno::Any SAL_CALL queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
~ImplHelper6() SAL_NOEXCEPT
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2)
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3)
ImplInheritanceHelper6(T1 const &arg1)
Base class to implement a UNO object supporting weak references, i.e.
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) SAL_OVERRIDE
If a delegator is set, then the delegator is queried for the demanded interface.
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Base class to implement a UNO object supporting weak references, i.e.
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
increasing m_refCount
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
decreasing m_refCount
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
virtual css::uno::Any SAL_CALL queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Called by the delegator or queryInterface.
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
If a delegator is set, then the delegator is queried for the demanded interface.
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
increasing m_refCount
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::...
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
decreasing m_refCount
Sequence< Type > SAL_CALL ImplInhHelper_getTypes(class_data *cd, Sequence< Type > const &rAddTypes)
Sequence< Type > SAL_CALL ImplHelper_getTypes(class_data *cd)
css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Any SAL_CALL WeakImplHelper_query(Type const &rType, class_data *cd, void *that, OWeakObject *pBase)
css::uno::Sequence< sal_Int8 > ImplHelper_getImplementationId(SAL_UNUSED_PARAMETER class_data *)
Any SAL_CALL WeakAggImplHelper_queryAgg(Type const &rType, class_data *cd, void *that, OWeakAggObject *pBase)
Sequence< Type > SAL_CALL WeakImplHelper_getTypes(class_data *cd)
Sequence< Type > SAL_CALL WeakAggImplHelper_getTypes(class_data *cd)
Any SAL_CALL ImplHelper_query(Type const &rType, class_data *cd, void *that)
Any SAL_CALL ImplHelper_queryNoXInterface(Type const &rType, class_data *cd, void *that)