3 #ifndef INCLUDED_CPPUHELPER_IMPLBASE13_HXX
4 #define INCLUDED_CPPUHELPER_IMPLBASE13_HXX
10 #include "com/sun/star/lang/XTypeProvider.hpp"
22 type_entry m_typeEntries[ 13 + 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 Ifc12,
typename Ifc13,
typename Impl >
28 class_data* operator ()()
30 static class_data13 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(Ifc12),
47 CPPUHELPER_DETAIL_TYPEENTRY(Ifc13),
48 CPPUHELPER_DETAIL_TYPEENTRY(css::lang::XTypeProvider)
51 return reinterpret_cast< class_data *
>(&s_cd);
65 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12,
class Ifc13 >
67 :
public css::lang::XTypeProvider
68 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12,
public Ifc13
70 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData13< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, Ifc13, ImplHelper13<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, Ifc13> > > {};
72 #if defined LIBO_INTERNAL_ONLY
81 {
return ImplHelper_query( rType, cd::get(),
this ); }
83 {
return ImplHelper_getTypes( cd::get() ); }
85 {
return ImplHelper_getImplementationId( cd::get() ); }
87 #if !defined _MSC_VER // public -> protected changes mangled names there
100 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12,
class Ifc13 >
103 ,
public css::lang::XTypeProvider
104 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12,
public Ifc13
106 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData13< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, Ifc13, WeakImplHelper13<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, Ifc13> > > {};
109 {
return WeakImplHelper_query( rType, cd::get(),
this, static_cast<OWeakObject *>(
this) ); }
115 {
return WeakImplHelper_getTypes( cd::get() ); }
117 {
return ImplHelper_getImplementationId( cd::get() ); }
132 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12,
class Ifc13 >
135 ,
public css::lang::XTypeProvider
136 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12,
public Ifc13
138 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData13< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, Ifc13, WeakAggImplHelper13<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, Ifc13> > > {};
143 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, static_cast<OWeakAggObject *>(
this) ); }
149 {
return WeakAggImplHelper_getTypes( cd::get() ); }
151 {
return ImplHelper_getImplementationId( cd::get() ); }
169 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,
class Ifc12,
class Ifc13 >
172 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12,
public Ifc13
174 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData13< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, Ifc13, ImplInheritanceHelper13<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, Ifc13> > > {};
176 template<
typename T1 >
178 template<
typename T1,
typename T2 >
180 BaseClass(arg1, arg2) {}
181 template<
typename T1,
typename T2,
typename T3 >
183 T1
const & arg1, T2
const & arg2, T3
const & arg3):
184 BaseClass(arg1, arg2, arg3) {}
185 template<
typename T1,
typename T2,
typename T3,
typename T4 >
187 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
188 BaseClass(arg1, arg2, arg3, arg4) {}
190 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
192 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
194 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
196 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
199 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
200 T5
const & arg5, T6
const & arg6):
201 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
206 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
212 { BaseClass::acquire(); }
214 { BaseClass::release(); }
216 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
218 {
return ImplHelper_getImplementationId( cd::get() ); }
237 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,
class Ifc12,
class Ifc13 >
240 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12,
public Ifc13
242 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData13< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, Ifc13, AggImplInheritanceHelper13<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, Ifc13> > > {};
244 template<
typename T1 >
246 template<
typename T1,
typename T2 >
248 BaseClass(arg1, arg2) {}
249 template<
typename T1,
typename T2,
typename T3 >
251 T1
const & arg1, T2
const & arg2, T3
const & arg3):
252 BaseClass(arg1, arg2, arg3) {}
253 template<
typename T1,
typename T2,
typename T3,
typename T4 >
255 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
256 BaseClass(arg1, arg2, arg3, arg4) {}
258 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
260 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
262 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
264 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
267 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
268 T5
const & arg5, T6
const & arg6):
269 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
276 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
279 return BaseClass::queryAggregation( rType );
282 { BaseClass::acquire(); }
284 { BaseClass::release(); }
286 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
288 {
return ImplHelper_getImplementationId( cd::get() ); }
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase13.hxx:287
ImplInheritanceHelper13(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase13.hxx:191
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Definition: implbase13.hxx:146
ImplInheritanceHelper13(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase13.hxx:182
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase13.hxx:217
unsigned char sal_Bool
Definition: types.h:18
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
decreasing m_refCount
Definition: implbase13.hxx:112
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
increasing m_refCount
Definition: implbase13.hxx:110
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase13.hxx:150
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase13.hxx:204
AggImplInheritanceHelper13(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase13.hxx:259
ImplInheritanceHelper13(T1 const &arg1)
Definition: implbase13.hxx:177
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase13.hxx:215
ImplInheritanceHelper13(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase13.hxx:198
Base class to implement a UNO object supporting weak references, i.e.
Definition: weakagg.hxx:25
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase13.hxx:133
AggImplInheritanceHelper13(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase13.hxx:254
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase13.hxx:114
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Definition: implbase13.hxx:144
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase13.hxx:84
#define SAL_WARN_UNUSED
Annotate classes where a compiler should warn if an instance is unused.
Definition: types.h:567
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
decreasing m_refCount
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
increasing m_refCount
AggImplInheritanceHelper13(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase13.hxx:266
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:528
AggImplInheritanceHelper13(T1 const &arg1)
Definition: implbase13.hxx:245
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: implbase13.hxx:281
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase13.hxx:101
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:23
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: implbase13.hxx:211
#define SAL_NOEXCEPT
Macro for C++11 "noexcept" vs.
Definition: types.h:396
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase13.hxx:82
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: implbase13.hxx:213
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Called by the delegator or queryInterface.
Definition: implbase13.hxx:142
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase13.hxx:285
#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.
ImplInheritanceHelper13(T1 const &arg1, T2 const &arg2)
Definition: implbase13.hxx:179
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.
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase13.hxx:238
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
Definition: implbase13.hxx:66
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase13.hxx:170
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: implbase13.hxx:283
~ImplHelper13() SAL_NOEXCEPT
Definition: implbase13.hxx:90
AggImplInheritanceHelper13(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase13.hxx:250
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase13.hxx:116
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase13.hxx:272
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase13.hxx:80
signed char sal_Int8
Definition: types.h:23
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:371
AggImplInheritanceHelper13(T1 const &arg1, T2 const &arg2)
Definition: implbase13.hxx:247
ImplInheritanceHelper13(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase13.hxx:186
AggImplInheritanceHelper13()
Definition: implbase13.hxx:271
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: implbase13.hxx:108
Base class to implement a UNO object supporting weak references, i.e.
Definition: weak.hxx:27
ImplInheritanceHelper13()
Definition: implbase13.hxx:203
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: implbase13.hxx:140
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase13.hxx:148
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase13.hxx:274