19 #ifndef INCLUDED_CPPUHELPER_IMPLBASE6_HXX 20 #define INCLUDED_CPPUHELPER_IMPLBASE6_HXX 35 type_entry m_typeEntries[ 6 + 1 ];
38 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Impl >
41 class_data* operator ()()
43 static class_data6 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(Ifc6),
54 CPPUHELPER_DETAIL_TYPEENTRY(css::lang::XTypeProvider)
57 return reinterpret_cast< class_data *
>(&s_cd);
71 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
73 :
public css::lang::XTypeProvider
74 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
76 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, ImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
79 {
return ImplHelper_query( rType, cd::get(),
this ); }
81 {
return ImplHelper_getTypes( cd::get() ); }
83 {
return ImplHelper_getImplementationId( cd::get() ); }
85 #if !defined _MSC_VER // public -> protected changes mangled names there 87 #elif defined __clang__ 88 #pragma clang diagnostic push 89 #pragma clang diagnostic ignored "-Wnon-virtual-dtor" 92 #if defined _MSC_VER && defined __clang__ 93 #pragma clang diagnostic pop 104 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
107 ,
public css::lang::XTypeProvider
108 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
110 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
113 {
return WeakImplHelper_query( rType, cd::get(),
this, static_cast<OWeakObject *>(
this) ); }
119 {
return WeakImplHelper_getTypes( cd::get() ); }
121 {
return ImplHelper_getImplementationId( cd::get() ); }
136 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
139 ,
public css::lang::XTypeProvider
140 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
142 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakAggImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
147 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, static_cast<OWeakAggObject *>(
this) ); }
153 {
return WeakAggImplHelper_getTypes( cd::get() ); }
155 {
return ImplHelper_getImplementationId( cd::get() ); }
173 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
176 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
178 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, ImplInheritanceHelper6<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
180 template<
typename T1 >
182 template<
typename T1,
typename T2 >
184 BaseClass(arg1, arg2) {}
185 template<
typename T1,
typename T2,
typename T3 >
187 T1
const & arg1, T2
const & arg2, T3
const & arg3):
188 BaseClass(arg1, arg2, arg3) {}
189 template<
typename T1,
typename T2,
typename T3,
typename T4 >
191 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
192 BaseClass(arg1, arg2, arg3, arg4) {}
194 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
196 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
198 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
200 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
203 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
204 T5
const & arg5, T6
const & arg6):
205 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
210 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
216 { BaseClass::acquire(); }
218 { BaseClass::release(); }
220 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
222 {
return ImplHelper_getImplementationId( cd::get() ); }
241 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
244 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
246 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, AggImplInheritanceHelper6<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
248 template<
typename T1 >
250 template<
typename T1,
typename T2 >
252 BaseClass(arg1, arg2) {}
253 template<
typename T1,
typename T2,
typename T3 >
255 T1
const & arg1, T2
const & arg2, T3
const & arg3):
256 BaseClass(arg1, arg2, arg3) {}
257 template<
typename T1,
typename T2,
typename T3,
typename T4 >
259 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
260 BaseClass(arg1, arg2, arg3, arg4) {}
262 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
264 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
266 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
268 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
271 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
272 T5
const & arg5, T6
const & arg6):
273 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
280 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
283 return BaseClass::queryAggregation( rType );
286 { BaseClass::acquire(); }
288 { BaseClass::release(); }
290 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
292 {
return ImplHelper_getImplementationId( cd::get() ); }
virtual void release() SAL_OVERRIDE
Definition: implbase6.hxx:217
virtual void acquire() SAL_OVERRIDE
Definition: implbase6.hxx:285
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:407
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:310
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
If a delegator is set, then the delegator is queried for the demanded interface.
Definition: implbase6.hxx:144
virtual void release() SAL_OVERRIDE
decreasing m_refCount
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2)
Definition: implbase6.hxx:183
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Definition: implbase6.hxx:148
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:544
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase6.hxx:120
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase6.hxx:105
Base class to implement an UNO object supporting weak references, i.e.
Definition: weakagg.hxx:41
AggImplInheritanceHelper6()
Definition: implbase6.hxx:275
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase6.hxx:154
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase6.hxx:219
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase6.hxx:291
signed char sal_Int8
Definition: types.h:43
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Called by the delegator or queryInterface.
Definition: implbase6.hxx:146
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase6.hxx:278
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase6.hxx:137
ImplInheritanceHelper6(T1 const &arg1)
Definition: implbase6.hxx:181
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase6.hxx:190
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase6.hxx:78
#define SAL_WARN_UNUSED
Annotate classes where a compiler should warn if an instance is unused.
Definition: types.h:598
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase6.hxx:174
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase6.hxx:254
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase6.hxx:270
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase6.hxx:221
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
AggImplInheritanceHelper6(T1 const &arg1)
Definition: implbase6.hxx:249
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase6.hxx:80
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:43
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase6.hxx:208
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase6.hxx:242
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase6.hxx:118
virtual void release() SAL_OVERRIDE
Definition: implbase6.hxx:287
unsigned char sal_Bool
Definition: types.h:38
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase6.hxx:82
ImplInheritanceHelper6()
Definition: implbase6.hxx:207
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::...
Definition: implbase6.hxx:112
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase6.hxx:263
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase6.hxx:195
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase6.hxx:258
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
Definition: implbase6.hxx:114
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Definition: implbase6.hxx:150
virtual void acquire() SAL_OVERRIDE
Definition: implbase6.hxx:215
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase6.hxx:152
Definition: Enterable.hxx:26
virtual css::uno::Any queryInterface(const css::uno::Type &rType) SAL_OVERRIDE
If a delegator is set, then the delegator is queried for the demanded interface.
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
Definition: implbase6.hxx:72
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase6.hxx:289
~ImplHelper6()
Definition: implbase6.hxx:91
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase6.hxx:276
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2)
Definition: implbase6.hxx:251
virtual void release() SAL_OVERRIDE
decreasing m_refCount
Definition: implbase6.hxx:116
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase6.hxx:202
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase6.hxx:186