28 #ifndef _CPPUHELPER_IMPLBASE8_HXX_
29 #define _CPPUHELPER_IMPLBASE8_HXX_
44 type_entry m_typeEntries[ 8 + 1 ];
47 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Ifc8,
typename Impl >
50 class_data* operator ()()
52 static class_data8 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 { { com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 }
68 return reinterpret_cast< class_data *
>(&s_cd);
82 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8 >
84 :
public com::sun::star::lang::XTypeProvider
85 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
87 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> > > {};
90 {
return ImplHelper_query( rType, cd::get(),
this ); }
92 {
return ImplHelper_getTypes( cd::get() ); }
94 {
return ImplHelper_getImplementationId( cd::get() ); }
96 #if !defined _MSC_VER // public -> protected changes mangled names there
109 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8 >
112 ,
public com::sun::star::lang::XTypeProvider
113 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
115 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> > > {};
118 {
return WeakImplHelper_query( rType, cd::get(),
this, (
OWeakObject *)
this ); }
119 virtual void SAL_CALL acquire() throw ()
121 virtual void SAL_CALL release() throw ()
124 {
return WeakImplHelper_getTypes( cd::get() ); }
126 {
return ImplHelper_getImplementationId( cd::get() ); }
141 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8 >
144 ,
public com::sun::star::lang::XTypeProvider
145 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
147 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> > > {};
152 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, (
OWeakAggObject *)
this ); }
153 virtual void SAL_CALL acquire() throw ()
155 virtual void SAL_CALL release() throw ()
158 {
return WeakAggImplHelper_getTypes( cd::get() ); }
160 {
return ImplHelper_getImplementationId( cd::get() ); }
178 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8 >
181 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
183 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> > > {};
185 template<
typename T1 >
187 template<
typename T1,
typename T2 >
189 BaseClass(arg1, arg2) {}
190 template<
typename T1,
typename T2,
typename T3 >
192 T1
const & arg1, T2
const & arg2, T3
const & arg3):
193 BaseClass(arg1, arg2, arg3) {}
194 template<
typename T1,
typename T2,
typename T3,
typename T4 >
196 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
197 BaseClass(arg1, arg2, arg3, arg4) {}
199 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
201 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
203 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
205 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
208 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
209 T5
const & arg5, T6
const & arg6):
210 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
220 virtual void SAL_CALL acquire() throw ()
221 { BaseClass::acquire(); }
222 virtual void SAL_CALL release() throw ()
223 { BaseClass::release(); }
225 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
227 {
return ImplHelper_getImplementationId( cd::get() ); }
246 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8 >
249 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
251 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> > > {};
253 template<
typename T1 >
255 template<
typename T1,
typename T2 >
257 BaseClass(arg1, arg2) {}
258 template<
typename T1,
typename T2,
typename T3 >
260 T1
const & arg1, T2
const & arg2, T3
const & arg3):
261 BaseClass(arg1, arg2, arg3) {}
262 template<
typename T1,
typename T2,
typename T3,
typename T4 >
264 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
265 BaseClass(arg1, arg2, arg3, arg4) {}
267 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
269 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
271 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
273 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
276 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
277 T5
const & arg5, T6
const & arg6):
278 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
288 return BaseClass::queryAggregation( rType );
290 virtual void SAL_CALL acquire() throw ()
291 { BaseClass::acquire(); }
292 virtual void SAL_CALL release() throw ()
293 { BaseClass::release(); }
295 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
297 {
return ImplHelper_getImplementationId( cd::get() ); }