19 #ifndef INCLUDED_CPPUHELPER_IMPLBASE5_HXX
20 #define INCLUDED_CPPUHELPER_IMPLBASE5_HXX
35 type_entry m_typeEntries[ 5 + 1 ];
38 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Impl >
41 class_data* operator ()()
43 static class_data5 s_cd =
46 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
48 CPPUHELPER_DETAIL_TYPEENTRY(Ifc1),
49 CPPUHELPER_DETAIL_TYPEENTRY(Ifc2),
50 CPPUHELPER_DETAIL_TYPEENTRY(Ifc3),
51 CPPUHELPER_DETAIL_TYPEENTRY(Ifc4),
52 CPPUHELPER_DETAIL_TYPEENTRY(Ifc5),
53 CPPUHELPER_DETAIL_TYPEENTRY(com::sun::star::lang::XTypeProvider)
56 return reinterpret_cast< class_data *
>(&s_cd);
70 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
72 :
public com::sun::star::lang::XTypeProvider
73 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
75 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, ImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
78 {
return ImplHelper_query( rType, cd::get(),
this ); }
80 {
return ImplHelper_getTypes( cd::get() ); }
82 {
return ImplHelper_getImplementationId( cd::get() ); }
84 #if !defined _MSC_VER // public -> protected changes mangled names there
97 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
100 ,
public com::sun::star::lang::XTypeProvider
101 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
103 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, WeakImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
106 {
return WeakImplHelper_query( rType, cd::get(),
this, static_cast<OWeakObject *>(
this) ); }
112 {
return WeakImplHelper_getTypes( cd::get() ); }
114 {
return ImplHelper_getImplementationId( cd::get() ); }
129 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
132 ,
public com::sun::star::lang::XTypeProvider
133 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
135 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, WeakAggImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
140 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, static_cast<OWeakAggObject *>(
this) ); }
146 {
return WeakAggImplHelper_getTypes( cd::get() ); }
148 {
return ImplHelper_getImplementationId( cd::get() ); }
166 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
169 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
171 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, ImplInheritanceHelper5<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
173 template<
typename T1 >
175 template<
typename T1,
typename T2 >
177 BaseClass(arg1, arg2) {}
178 template<
typename T1,
typename T2,
typename T3 >
180 T1
const & arg1, T2
const & arg2, T3
const & arg3):
181 BaseClass(arg1, arg2, arg3) {}
182 template<
typename T1,
typename T2,
typename T3,
typename T4 >
184 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
185 BaseClass(arg1, arg2, arg3, arg4) {}
187 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
189 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
191 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
193 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
196 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
197 T5
const & arg5, T6
const & arg6):
198 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
209 { BaseClass::acquire(); }
211 { BaseClass::release(); }
213 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
215 {
return ImplHelper_getImplementationId( cd::get() ); }
234 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
237 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
239 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, AggImplInheritanceHelper5<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
241 template<
typename T1 >
243 template<
typename T1,
typename T2 >
245 BaseClass(arg1, arg2) {}
246 template<
typename T1,
typename T2,
typename T3 >
248 T1
const & arg1, T2
const & arg2, T3
const & arg3):
249 BaseClass(arg1, arg2, arg3) {}
250 template<
typename T1,
typename T2,
typename T3,
typename T4 >
252 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
253 BaseClass(arg1, arg2, arg3, arg4) {}
255 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
257 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
259 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
261 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
264 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
265 T5
const & arg5, T6
const & arg6):
266 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
276 return BaseClass::queryAggregation( rType );
279 { BaseClass::acquire(); }
281 { BaseClass::release(); }
283 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
285 {
return ImplHelper_getImplementationId( cd::get() ); }