3 #ifndef INCLUDED_CPPUHELPER_IMPLBASE11_HXX
4 #define INCLUDED_CPPUHELPER_IMPLBASE11_HXX
10 #include "com/sun/star/lang/XTypeProvider.hpp"
22 type_entry m_typeEntries[ 11 + 1 ];
25 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Ifc8,
typename Ifc9,
typename Ifc10,
typename Ifc11,
typename Impl >
28 class_data* operator ()()
30 static class_data11 s_cd =
33 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
35 CPPUHELPER_DETAIL_TYPEENTRY(Ifc1),
36 CPPUHELPER_DETAIL_TYPEENTRY(Ifc2),
37 CPPUHELPER_DETAIL_TYPEENTRY(Ifc3),
38 CPPUHELPER_DETAIL_TYPEENTRY(Ifc4),
39 CPPUHELPER_DETAIL_TYPEENTRY(Ifc5),
40 CPPUHELPER_DETAIL_TYPEENTRY(Ifc6),
41 CPPUHELPER_DETAIL_TYPEENTRY(Ifc7),
42 CPPUHELPER_DETAIL_TYPEENTRY(Ifc8),
43 CPPUHELPER_DETAIL_TYPEENTRY(Ifc9),
44 CPPUHELPER_DETAIL_TYPEENTRY(Ifc10),
45 CPPUHELPER_DETAIL_TYPEENTRY(Ifc11),
46 CPPUHELPER_DETAIL_TYPEENTRY(css::lang::XTypeProvider)
49 return reinterpret_cast< class_data *
>(&s_cd);
63 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11 >
65 :
public css::lang::XTypeProvider
66 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11
68 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData11< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, ImplHelper11<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11> > > {};
70 #if defined LIBO_INTERNAL_ONLY
79 {
return ImplHelper_query( rType, cd::get(),
this ); }
81 {
return ImplHelper_getTypes( cd::get() ); }
83 {
return ImplHelper_getImplementationId( cd::get() ); }
85 #if !defined _MSC_VER // public -> protected changes mangled names there
98 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11 >
101 ,
public css::lang::XTypeProvider
102 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11
104 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData11< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, WeakImplHelper11<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11> > > {};
107 {
return WeakImplHelper_query( rType, cd::get(),
this, static_cast<OWeakObject *>(
this) ); }
113 {
return WeakImplHelper_getTypes( cd::get() ); }
115 {
return ImplHelper_getImplementationId( cd::get() ); }
130 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11 >
133 ,
public css::lang::XTypeProvider
134 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11
136 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData11< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, WeakAggImplHelper11<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11> > > {};
141 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, static_cast<OWeakAggObject *>(
this) ); }
147 {
return WeakAggImplHelper_getTypes( cd::get() ); }
149 {
return ImplHelper_getImplementationId( cd::get() ); }
167 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11 >
170 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11
172 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData11< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, ImplInheritanceHelper11<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11> > > {};
174 template<
typename T1 >
176 template<
typename T1,
typename T2 >
178 BaseClass(arg1, arg2) {}
179 template<
typename T1,
typename T2,
typename T3 >
181 T1
const & arg1, T2
const & arg2, T3
const & arg3):
182 BaseClass(arg1, arg2, arg3) {}
183 template<
typename T1,
typename T2,
typename T3,
typename T4 >
185 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
186 BaseClass(arg1, arg2, arg3, arg4) {}
188 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
190 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
192 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
194 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
197 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
198 T5
const & arg5, T6
const & arg6):
199 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
204 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
210 { BaseClass::acquire(); }
212 { BaseClass::release(); }
214 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
216 {
return ImplHelper_getImplementationId( cd::get() ); }
235 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11 >
238 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11
240 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData11< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, AggImplInheritanceHelper11<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11> > > {};
242 template<
typename T1 >
244 template<
typename T1,
typename T2 >
246 BaseClass(arg1, arg2) {}
247 template<
typename T1,
typename T2,
typename T3 >
249 T1
const & arg1, T2
const & arg2, T3
const & arg3):
250 BaseClass(arg1, arg2, arg3) {}
251 template<
typename T1,
typename T2,
typename T3,
typename T4 >
253 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
254 BaseClass(arg1, arg2, arg3, arg4) {}
256 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
258 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
260 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
262 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
265 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
266 T5
const & arg5, T6
const & arg6):
267 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
274 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
277 return BaseClass::queryAggregation( rType );
280 { BaseClass::acquire(); }
282 { BaseClass::release(); }
284 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
286 {
return ImplHelper_getImplementationId( cd::get() ); }
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase11.hxx:80
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase11.hxx:213
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::...
Definition: implbase11.hxx:106
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Definition: implbase11.hxx:142
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase11.hxx:272
unsigned char sal_Bool
Definition: types.h:18
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase11.hxx:99
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase11.hxx:78
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: implbase11.hxx:209
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: implbase11.hxx:281
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: implbase11.hxx:211
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase11.hxx:146
AggImplInheritanceHelper11(T1 const &arg1)
Definition: implbase11.hxx:243
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
ImplInheritanceHelper11(T1 const &arg1)
Definition: implbase11.hxx:175
Base class to implement a UNO object supporting weak references, i.e.
Definition: weakagg.hxx:25
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
Definition: implbase11.hxx:64
AggImplInheritanceHelper11(T1 const &arg1, T2 const &arg2)
Definition: implbase11.hxx:245
ImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase11.hxx:189
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase11.hxx:148
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase11.hxx:202
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase11.hxx:112
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase11.hxx:114
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase11.hxx:215
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase11.hxx:236
AggImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase11.hxx:257
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase11.hxx:168
#define SAL_WARN_UNUSED
Annotate classes where a compiler should warn if an instance is unused.
Definition: types.h:567
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: implbase11.hxx:279
ImplInheritanceHelper11()
Definition: implbase11.hxx:201
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
decreasing m_refCount
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
increasing m_refCount
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:528
~ImplHelper11() SAL_NOEXCEPT
Definition: implbase11.hxx:88
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:23
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase11.hxx:82
ImplInheritanceHelper11(T1 const &arg1, T2 const &arg2)
Definition: implbase11.hxx:177
#define SAL_NOEXCEPT
Macro for C++11 "noexcept" vs.
Definition: types.h:396
AggImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase11.hxx:252
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Called by the delegator or queryInterface.
Definition: implbase11.hxx:140
ImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase11.hxx:196
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:274
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
virtual css::uno::Any queryInterface(const css::uno::Type &rType) SAL_OVERRIDE
If a delegator is set, then the delegator is queried for the demanded interface.
AggImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase11.hxx:264
AggImplInheritanceHelper11()
Definition: implbase11.hxx:269
ImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase11.hxx:184
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
increasing m_refCount
Definition: implbase11.hxx:108
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase11.hxx:283
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Definition: implbase11.hxx:144
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase11.hxx:285
ImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase11.hxx:180
signed char sal_Int8
Definition: types.h:23
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase11.hxx:270
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
decreasing m_refCount
Definition: implbase11.hxx:110
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:371
Base class to implement a UNO object supporting weak references, i.e.
Definition: weak.hxx:27
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
If a delegator is set, then the delegator is queried for the demanded interface.
Definition: implbase11.hxx:138
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase11.hxx:131
AggImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase11.hxx:248