28 #ifndef _CPPUHELPER_IMPLBASE10_HXX_
29 #define _CPPUHELPER_IMPLBASE10_HXX_
44 type_entry m_typeEntries[ 10 + 1 ];
47 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Ifc8,
typename Ifc9,
typename Ifc10,
typename Impl >
48 struct ImplClassData10
50 class_data* operator ()()
52 static class_data10 s_cd =
55 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
57 { { Ifc1::static_type }, ((sal_IntPtr)(Ifc1 *) (Impl *) 16) - 16 },
58 { { Ifc2::static_type }, ((sal_IntPtr)(Ifc2 *) (Impl *) 16) - 16 },
59 { { Ifc3::static_type }, ((sal_IntPtr)(Ifc3 *) (Impl *) 16) - 16 },
60 { { Ifc4::static_type }, ((sal_IntPtr)(Ifc4 *) (Impl *) 16) - 16 },
61 { { Ifc5::static_type }, ((sal_IntPtr)(Ifc5 *) (Impl *) 16) - 16 },
62 { { Ifc6::static_type }, ((sal_IntPtr)(Ifc6 *) (Impl *) 16) - 16 },
63 { { Ifc7::static_type }, ((sal_IntPtr)(Ifc7 *) (Impl *) 16) - 16 },
64 { { Ifc8::static_type }, ((sal_IntPtr)(Ifc8 *) (Impl *) 16) - 16 },
65 { { Ifc9::static_type }, ((sal_IntPtr)(Ifc9 *) (Impl *) 16) - 16 },
66 { { Ifc10::static_type }, ((sal_IntPtr)(Ifc10 *) (Impl *) 16) - 16 },
67 { { com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 }
70 return reinterpret_cast< class_data *
>(&s_cd);
84 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10 >
86 :
public com::sun::star::lang::XTypeProvider
87 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10
89 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData10< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, ImplHelper10<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10> > > {};
92 {
return ImplHelper_query( rType, cd::get(),
this ); }
94 {
return ImplHelper_getTypes( cd::get() ); }
96 {
return ImplHelper_getImplementationId( cd::get() ); }
98 #if !defined _MSC_VER // public -> protected changes mangled names there
111 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10 >
114 ,
public com::sun::star::lang::XTypeProvider
115 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10
117 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData10< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, WeakImplHelper10<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10> > > {};
120 {
return WeakImplHelper_query( rType, cd::get(),
this, (
OWeakObject *)
this ); }
121 virtual void SAL_CALL acquire() throw ()
123 virtual void SAL_CALL release() throw ()
126 {
return WeakImplHelper_getTypes( cd::get() ); }
128 {
return ImplHelper_getImplementationId( cd::get() ); }
143 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10 >
146 ,
public com::sun::star::lang::XTypeProvider
147 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10
149 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData10< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, WeakAggImplHelper10<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10> > > {};
154 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, (
OWeakAggObject *)
this ); }
155 virtual void SAL_CALL acquire() throw ()
157 virtual void SAL_CALL release() throw ()
160 {
return WeakAggImplHelper_getTypes( cd::get() ); }
162 {
return ImplHelper_getImplementationId( cd::get() ); }
180 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10 >
183 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10
185 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData10< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, ImplInheritanceHelper10<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10> > > {};
187 template<
typename T1 >
189 template<
typename T1,
typename T2 >
191 BaseClass(arg1, arg2) {}
192 template<
typename T1,
typename T2,
typename T3 >
194 T1
const & arg1, T2
const & arg2, T3
const & arg3):
195 BaseClass(arg1, arg2, arg3) {}
196 template<
typename T1,
typename T2,
typename T3,
typename T4 >
198 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
199 BaseClass(arg1, arg2, arg3, arg4) {}
201 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
203 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
205 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
207 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
210 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
211 T5
const & arg5, T6
const & arg6):
212 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
222 virtual void SAL_CALL acquire() throw ()
223 { BaseClass::acquire(); }
224 virtual void SAL_CALL release() throw ()
225 { BaseClass::release(); }
227 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
229 {
return ImplHelper_getImplementationId( cd::get() ); }
248 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10 >
251 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10
253 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData10< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, AggImplInheritanceHelper10<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10> > > {};
255 template<
typename T1 >
257 template<
typename T1,
typename T2 >
259 BaseClass(arg1, arg2) {}
260 template<
typename T1,
typename T2,
typename T3 >
262 T1
const & arg1, T2
const & arg2, T3
const & arg3):
263 BaseClass(arg1, arg2, arg3) {}
264 template<
typename T1,
typename T2,
typename T3,
typename T4 >
266 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
267 BaseClass(arg1, arg2, arg3, arg4) {}
269 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
271 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
273 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
275 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
278 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
279 T5
const & arg5, T6
const & arg6):
280 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
290 return BaseClass::queryAggregation( rType );
292 virtual void SAL_CALL acquire() throw ()
293 { BaseClass::acquire(); }
294 virtual void SAL_CALL release() throw ()
295 { BaseClass::release(); }
297 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
299 {
return ImplHelper_getImplementationId( cd::get() ); }