19 #ifndef _CPPUHELPER_IMPLBASE7_HXX_
20 #define _CPPUHELPER_IMPLBASE7_HXX_
35 type_entry m_typeEntries[ 7 + 1 ];
38 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Impl >
41 class_data* operator ()()
43 static class_data7 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 { { com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 }
58 return reinterpret_cast< class_data *
>(&s_cd);
72 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
74 :
public com::sun::star::lang::XTypeProvider
75 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
77 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, ImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
80 {
return ImplHelper_query( rType, cd::get(),
this ); }
82 {
return ImplHelper_getTypes( cd::get() ); }
84 {
return ImplHelper_getImplementationId( cd::get() ); }
86 #if !defined _MSC_VER // public -> protected changes mangled names there
99 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
102 ,
public com::sun::star::lang::XTypeProvider
103 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
105 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
108 {
return WeakImplHelper_query( rType, cd::get(),
this, (
OWeakObject *)
this ); }
109 virtual void SAL_CALL acquire() throw ()
111 virtual void SAL_CALL release() throw ()
114 {
return WeakImplHelper_getTypes( cd::get() ); }
116 {
return ImplHelper_getImplementationId( cd::get() ); }
131 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
134 ,
public com::sun::star::lang::XTypeProvider
135 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
137 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakAggImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
142 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, (
OWeakAggObject *)
this ); }
143 virtual void SAL_CALL acquire() throw ()
145 virtual void SAL_CALL release() throw ()
148 {
return WeakAggImplHelper_getTypes( cd::get() ); }
150 {
return ImplHelper_getImplementationId( cd::get() ); }
168 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
171 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
173 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, ImplInheritanceHelper7<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
175 template<
typename T1 >
177 template<
typename T1,
typename T2 >
179 BaseClass(arg1, arg2) {}
180 template<
typename T1,
typename T2,
typename T3 >
182 T1
const & arg1, T2
const & arg2, T3
const & arg3):
183 BaseClass(arg1, arg2, arg3) {}
184 template<
typename T1,
typename T2,
typename T3,
typename T4 >
186 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
187 BaseClass(arg1, arg2, arg3, arg4) {}
189 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
191 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
193 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
195 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
198 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
199 T5
const & arg5, T6
const & arg6):
200 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
210 virtual void SAL_CALL acquire() throw ()
211 { BaseClass::acquire(); }
212 virtual void SAL_CALL release() throw ()
213 { BaseClass::release(); }
215 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
217 {
return ImplHelper_getImplementationId( cd::get() ); }
236 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
239 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
241 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, AggImplInheritanceHelper7<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
243 template<
typename T1 >
245 template<
typename T1,
typename T2 >
247 BaseClass(arg1, arg2) {}
248 template<
typename T1,
typename T2,
typename T3 >
250 T1
const & arg1, T2
const & arg2, T3
const & arg3):
251 BaseClass(arg1, arg2, arg3) {}
252 template<
typename T1,
typename T2,
typename T3,
typename T4 >
254 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
255 BaseClass(arg1, arg2, arg3, arg4) {}
257 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
259 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
261 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
263 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
266 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
267 T5
const & arg5, T6
const & arg6):
268 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
278 return BaseClass::queryAggregation( rType );
280 virtual void SAL_CALL acquire() throw ()
281 { BaseClass::acquire(); }
282 virtual void SAL_CALL release() throw ()
283 { BaseClass::release(); }
285 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
287 {
return ImplHelper_getImplementationId( cd::get() ); }