28 #ifndef _CPPUHELPER_IMPLBASE12_HXX_
29 #define _CPPUHELPER_IMPLBASE12_HXX_
44 type_entry m_typeEntries[ 12 + 1 ];
47 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Ifc8,
typename Ifc9,
typename Ifc10,
typename Ifc11,
typename Ifc12,
typename Impl >
48 struct ImplClassData12
50 class_data* operator ()()
52 static class_data12 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 { { Ifc11::static_type }, ((sal_IntPtr)(Ifc11 *) (Impl *) 16) - 16 },
68 { { Ifc12::static_type }, ((sal_IntPtr)(Ifc12 *) (Impl *) 16) - 16 },
69 { { com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 }
72 return reinterpret_cast< class_data *
>(&s_cd);
86 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
88 :
public com::sun::star::lang::XTypeProvider
89 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
91 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, ImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
94 {
return ImplHelper_query( rType, cd::get(),
this ); }
96 {
return ImplHelper_getTypes( cd::get() ); }
98 {
return ImplHelper_getImplementationId( cd::get() ); }
100 #if !defined _MSC_VER // public -> protected changes mangled names there
113 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
116 ,
public com::sun::star::lang::XTypeProvider
117 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
119 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
122 {
return WeakImplHelper_query( rType, cd::get(),
this, (
OWeakObject *)
this ); }
123 virtual void SAL_CALL acquire() throw ()
125 virtual void SAL_CALL release() throw ()
128 {
return WeakImplHelper_getTypes( cd::get() ); }
130 {
return ImplHelper_getImplementationId( cd::get() ); }
145 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
148 ,
public com::sun::star::lang::XTypeProvider
149 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
151 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakAggImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
156 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, (
OWeakAggObject *)
this ); }
157 virtual void SAL_CALL acquire() throw ()
159 virtual void SAL_CALL release() throw ()
162 {
return WeakAggImplHelper_getTypes( cd::get() ); }
164 {
return ImplHelper_getImplementationId( cd::get() ); }
182 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
185 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
187 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, ImplInheritanceHelper12<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
189 template<
typename T1 >
191 template<
typename T1,
typename T2 >
193 BaseClass(arg1, arg2) {}
194 template<
typename T1,
typename T2,
typename T3 >
196 T1
const & arg1, T2
const & arg2, T3
const & arg3):
197 BaseClass(arg1, arg2, arg3) {}
198 template<
typename T1,
typename T2,
typename T3,
typename T4 >
200 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
201 BaseClass(arg1, arg2, arg3, arg4) {}
203 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
205 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
207 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
209 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
212 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
213 T5
const & arg5, T6
const & arg6):
214 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
224 virtual void SAL_CALL acquire() throw ()
225 { BaseClass::acquire(); }
226 virtual void SAL_CALL release() throw ()
227 { BaseClass::release(); }
229 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
231 {
return ImplHelper_getImplementationId( cd::get() ); }
250 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
253 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
255 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, AggImplInheritanceHelper12<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
257 template<
typename T1 >
259 template<
typename T1,
typename T2 >
261 BaseClass(arg1, arg2) {}
262 template<
typename T1,
typename T2,
typename T3 >
264 T1
const & arg1, T2
const & arg2, T3
const & arg3):
265 BaseClass(arg1, arg2, arg3) {}
266 template<
typename T1,
typename T2,
typename T3,
typename T4 >
268 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
269 BaseClass(arg1, arg2, arg3, arg4) {}
271 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
273 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
275 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
277 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
280 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
281 T5
const & arg5, T6
const & arg6):
282 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
292 return BaseClass::queryAggregation( rType );
294 virtual void SAL_CALL acquire() throw ()
295 { BaseClass::acquire(); }
296 virtual void SAL_CALL release() throw ()
297 { BaseClass::release(); }
299 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
301 {
return ImplHelper_getImplementationId( cd::get() ); }