19 #ifndef _CPPUHELPER_IMPLBASE8_HXX_
20 #define _CPPUHELPER_IMPLBASE8_HXX_
35 type_entry m_typeEntries[ 8 + 1 ];
38 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Ifc8,
typename Impl >
41 class_data* operator ()()
43 static class_data8 s_cd =
46 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
48 { { Ifc1::static_type }, ((sal_IntPtr)(Ifc1 *) (Impl *) 16) - 16 },
49 { { Ifc2::static_type }, ((sal_IntPtr)(Ifc2 *) (Impl *) 16) - 16 },
50 { { Ifc3::static_type }, ((sal_IntPtr)(Ifc3 *) (Impl *) 16) - 16 },
51 { { Ifc4::static_type }, ((sal_IntPtr)(Ifc4 *) (Impl *) 16) - 16 },
52 { { Ifc5::static_type }, ((sal_IntPtr)(Ifc5 *) (Impl *) 16) - 16 },
53 { { Ifc6::static_type }, ((sal_IntPtr)(Ifc6 *) (Impl *) 16) - 16 },
54 { { Ifc7::static_type }, ((sal_IntPtr)(Ifc7 *) (Impl *) 16) - 16 },
55 { { Ifc8::static_type }, ((sal_IntPtr)(Ifc8 *) (Impl *) 16) - 16 },
56 { { com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 }
59 return reinterpret_cast< class_data *
>(&s_cd);
73 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8 >
75 :
public com::sun::star::lang::XTypeProvider
76 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
78 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, ImplHelper8<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
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 >
103 ,
public com::sun::star::lang::XTypeProvider
104 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
106 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, WeakImplHelper8<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
109 {
return WeakImplHelper_query( rType, cd::get(),
this, (
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 >
135 ,
public com::sun::star::lang::XTypeProvider
136 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
138 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, WeakAggImplHelper8<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
143 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, (
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 >
172 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
174 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, ImplInheritanceHelper8<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
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) {}
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 >
240 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
242 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, AggImplInheritanceHelper8<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
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) {}
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() ); }