19 #ifndef INCLUDED_CPPUHELPER_IMPLBASE9_HXX
20 #define INCLUDED_CPPUHELPER_IMPLBASE9_HXX
35 type_entry m_typeEntries[ 9 + 1 ];
38 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Ifc8,
typename Ifc9,
typename Impl >
41 class_data* operator ()()
43 static class_data9 s_cd =
46 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
48 CPPUHELPER_DETAIL_TYPEENTRY(Ifc1),
49 CPPUHELPER_DETAIL_TYPEENTRY(Ifc2),
50 CPPUHELPER_DETAIL_TYPEENTRY(Ifc3),
51 CPPUHELPER_DETAIL_TYPEENTRY(Ifc4),
52 CPPUHELPER_DETAIL_TYPEENTRY(Ifc5),
53 CPPUHELPER_DETAIL_TYPEENTRY(Ifc6),
54 CPPUHELPER_DETAIL_TYPEENTRY(Ifc7),
55 CPPUHELPER_DETAIL_TYPEENTRY(Ifc8),
56 CPPUHELPER_DETAIL_TYPEENTRY(Ifc9),
57 CPPUHELPER_DETAIL_TYPEENTRY(css::lang::XTypeProvider)
60 return reinterpret_cast< class_data *
>(&s_cd);
74 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
76 :
public css::lang::XTypeProvider
77 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
79 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> > > {};
82 {
return ImplHelper_query( rType, cd::get(),
this ); }
84 {
return ImplHelper_getTypes( cd::get() ); }
86 {
return ImplHelper_getImplementationId( cd::get() ); }
88 #if !defined _MSC_VER // public -> protected changes mangled names there
90 #elif defined __clang__
91 #pragma clang diagnostic push
92 #pragma clang diagnostic ignored "-Wnon-virtual-dtor"
95 #if defined _MSC_VER && defined __clang__
96 #pragma clang diagnostic pop
107 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
110 ,
public css::lang::XTypeProvider
111 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
113 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> > > {};
116 {
return WeakImplHelper_query( rType, cd::get(),
this,
static_cast<OWeakObject *
>(
this) ); }
122 {
return WeakImplHelper_getTypes( cd::get() ); }
124 {
return ImplHelper_getImplementationId( cd::get() ); }
139 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
142 ,
public css::lang::XTypeProvider
143 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
145 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> > > {};
150 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this,
static_cast<OWeakAggObject *
>(
this) ); }
156 {
return WeakAggImplHelper_getTypes( cd::get() ); }
158 {
return ImplHelper_getImplementationId( cd::get() ); }
176 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
179 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
181 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> > > {};
183 template<
typename T1 >
185 template<
typename T1,
typename T2 >
187 BaseClass(arg1, arg2) {}
188 template<
typename T1,
typename T2,
typename T3 >
190 T1
const & arg1, T2
const & arg2, T3
const & arg3):
191 BaseClass(arg1, arg2, arg3) {}
192 template<
typename T1,
typename T2,
typename T3,
typename T4 >
194 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
195 BaseClass(arg1, arg2, arg3, arg4) {}
197 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
199 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
201 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
203 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
206 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
207 T5
const & arg5, T6
const & arg6):
208 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
213 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
219 { BaseClass::acquire(); }
221 { BaseClass::release(); }
223 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
225 {
return ImplHelper_getImplementationId( cd::get() ); }
244 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
247 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
249 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> > > {};
251 template<
typename T1 >
253 template<
typename T1,
typename T2 >
255 BaseClass(arg1, arg2) {}
256 template<
typename T1,
typename T2,
typename T3 >
258 T1
const & arg1, T2
const & arg2, T3
const & arg3):
259 BaseClass(arg1, arg2, arg3) {}
260 template<
typename T1,
typename T2,
typename T3,
typename T4 >
262 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
263 BaseClass(arg1, arg2, arg3, arg4) {}
265 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
267 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
269 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
271 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
274 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
275 T5
const & arg5, T6
const & arg6):
276 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
283 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
286 return BaseClass::queryAggregation( rType );
289 { BaseClass::acquire(); }
291 { BaseClass::release(); }
293 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
295 {
return ImplHelper_getImplementationId( cd::get() ); }