28 #ifndef _CPPUHELPER_IMPLBASE5_HXX_
29 #define _CPPUHELPER_IMPLBASE5_HXX_
44 type_entry m_typeEntries[ 5 + 1 ];
47 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Impl >
50 class_data* operator ()()
52 static class_data5 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 { { com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 }
65 return reinterpret_cast< class_data *
>(&s_cd);
79 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
81 :
public com::sun::star::lang::XTypeProvider
82 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
84 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, ImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
87 {
return ImplHelper_query( rType, cd::get(),
this ); }
89 {
return ImplHelper_getTypes( cd::get() ); }
91 {
return ImplHelper_getImplementationId( cd::get() ); }
93 #if !defined _MSC_VER // public -> protected changes mangled names there
106 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
109 ,
public com::sun::star::lang::XTypeProvider
110 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
112 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, WeakImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
115 {
return WeakImplHelper_query( rType, cd::get(),
this, (
OWeakObject *)
this ); }
116 virtual void SAL_CALL acquire() throw ()
118 virtual void SAL_CALL release() throw ()
121 {
return WeakImplHelper_getTypes( cd::get() ); }
123 {
return ImplHelper_getImplementationId( cd::get() ); }
138 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
141 ,
public com::sun::star::lang::XTypeProvider
142 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
144 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, WeakAggImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
149 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, (
OWeakAggObject *)
this ); }
150 virtual void SAL_CALL acquire() throw ()
152 virtual void SAL_CALL release() throw ()
155 {
return WeakAggImplHelper_getTypes( cd::get() ); }
157 {
return ImplHelper_getImplementationId( cd::get() ); }
175 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
178 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
180 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, ImplInheritanceHelper5<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
182 template<
typename T1 >
184 template<
typename T1,
typename T2 >
186 BaseClass(arg1, arg2) {}
187 template<
typename T1,
typename T2,
typename T3 >
189 T1
const & arg1, T2
const & arg2, T3
const & arg3):
190 BaseClass(arg1, arg2, arg3) {}
191 template<
typename T1,
typename T2,
typename T3,
typename T4 >
193 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
194 BaseClass(arg1, arg2, arg3, arg4) {}
196 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
198 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
200 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
202 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
205 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
206 T5
const & arg5, T6
const & arg6):
207 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
217 virtual void SAL_CALL acquire() throw ()
218 { BaseClass::acquire(); }
219 virtual void SAL_CALL release() throw ()
220 { BaseClass::release(); }
222 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
224 {
return ImplHelper_getImplementationId( cd::get() ); }
243 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
246 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
248 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, AggImplInheritanceHelper5<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
250 template<
typename T1 >
252 template<
typename T1,
typename T2 >
254 BaseClass(arg1, arg2) {}
255 template<
typename T1,
typename T2,
typename T3 >
257 T1
const & arg1, T2
const & arg2, T3
const & arg3):
258 BaseClass(arg1, arg2, arg3) {}
259 template<
typename T1,
typename T2,
typename T3,
typename T4 >
261 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
262 BaseClass(arg1, arg2, arg3, arg4) {}
264 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
266 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
268 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
270 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
273 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
274 T5
const & arg5, T6
const & arg6):
275 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
285 return BaseClass::queryAggregation( rType );
287 virtual void SAL_CALL acquire() throw ()
288 { BaseClass::acquire(); }
289 virtual void SAL_CALL release() throw ()
290 { BaseClass::release(); }
292 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
294 {
return ImplHelper_getImplementationId( cd::get() ); }