28 #ifndef _CPPUHELPER_IMPLBASE7_HXX_
29 #define _CPPUHELPER_IMPLBASE7_HXX_
44 type_entry m_typeEntries[ 7 + 1 ];
47 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Impl >
50 class_data* operator ()()
52 static class_data7 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 { { com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 }
67 return reinterpret_cast< class_data *
>(&s_cd);
81 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
83 :
public com::sun::star::lang::XTypeProvider
84 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
86 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, ImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
89 {
return ImplHelper_query( rType, cd::get(),
this ); }
91 {
return ImplHelper_getTypes( cd::get() ); }
93 {
return ImplHelper_getImplementationId( cd::get() ); }
95 #if !defined _MSC_VER // public -> protected changes mangled names there
108 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
111 ,
public com::sun::star::lang::XTypeProvider
112 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
114 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
117 {
return WeakImplHelper_query( rType, cd::get(),
this, (
OWeakObject *)
this ); }
118 virtual void SAL_CALL acquire() throw ()
120 virtual void SAL_CALL release() throw ()
123 {
return WeakImplHelper_getTypes( cd::get() ); }
125 {
return ImplHelper_getImplementationId( cd::get() ); }
140 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
143 ,
public com::sun::star::lang::XTypeProvider
144 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
146 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakAggImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
151 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, (
OWeakAggObject *)
this ); }
152 virtual void SAL_CALL acquire() throw ()
154 virtual void SAL_CALL release() throw ()
157 {
return WeakAggImplHelper_getTypes( cd::get() ); }
159 {
return ImplHelper_getImplementationId( cd::get() ); }
177 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
180 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
182 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, ImplInheritanceHelper7<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
184 template<
typename T1 >
186 template<
typename T1,
typename T2 >
188 BaseClass(arg1, arg2) {}
189 template<
typename T1,
typename T2,
typename T3 >
191 T1
const & arg1, T2
const & arg2, T3
const & arg3):
192 BaseClass(arg1, arg2, arg3) {}
193 template<
typename T1,
typename T2,
typename T3,
typename T4 >
195 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
196 BaseClass(arg1, arg2, arg3, arg4) {}
198 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
200 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
202 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
204 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
207 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
208 T5
const & arg5, T6
const & arg6):
209 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
219 virtual void SAL_CALL acquire() throw ()
220 { BaseClass::acquire(); }
221 virtual void SAL_CALL release() throw ()
222 { BaseClass::release(); }
224 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
226 {
return ImplHelper_getImplementationId( cd::get() ); }
245 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
248 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
250 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, AggImplInheritanceHelper7<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
252 template<
typename T1 >
254 template<
typename T1,
typename T2 >
256 BaseClass(arg1, arg2) {}
257 template<
typename T1,
typename T2,
typename T3 >
259 T1
const & arg1, T2
const & arg2, T3
const & arg3):
260 BaseClass(arg1, arg2, arg3) {}
261 template<
typename T1,
typename T2,
typename T3,
typename T4 >
263 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
264 BaseClass(arg1, arg2, arg3, arg4) {}
266 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
268 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
270 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
272 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
275 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
276 T5
const & arg5, T6
const & arg6):
277 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
287 return BaseClass::queryAggregation( rType );
289 virtual void SAL_CALL acquire() throw ()
290 { BaseClass::acquire(); }
291 virtual void SAL_CALL release() throw ()
292 { BaseClass::release(); }
294 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
296 {
return ImplHelper_getImplementationId( cd::get() ); }