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> > > {};
78 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 79 {
return ImplHelper_query( rType, cd::get(),
this ); }
80 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 81 {
return ImplHelper_getTypes( cd::get() ); }
83 {
return ImplHelper_getImplementationId( cd::get() ); }
85 #if !defined _MSC_VER // public -> protected changes mangled names there 98 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
101 ,
public css::lang::XTypeProvider
102 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
104 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
106 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 107 {
return WeakImplHelper_query( rType, cd::get(),
this, static_cast<OWeakObject *>(
this) ); }
112 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 113 {
return WeakImplHelper_getTypes( cd::get() ); }
115 {
return ImplHelper_getImplementationId( cd::get() ); }
130 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
133 ,
public css::lang::XTypeProvider
134 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
136 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, WeakAggImplHelper6<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
138 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 141 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, static_cast<OWeakAggObject *>(
this) ); }
146 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 147 {
return WeakAggImplHelper_getTypes( cd::get() ); }
149 {
return ImplHelper_getImplementationId( cd::get() ); }
167 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
170 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
172 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, ImplInheritanceHelper6<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
174 template<
typename T1 >
176 template<
typename T1,
typename T2 >
178 BaseClass(arg1, arg2) {}
179 template<
typename T1,
typename T2,
typename T3 >
181 T1
const & arg1, T2
const & arg2, T3
const & arg3):
182 BaseClass(arg1, arg2, arg3) {}
183 template<
typename T1,
typename T2,
typename T3,
typename T4 >
185 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
186 BaseClass(arg1, arg2, arg3, arg4) {}
188 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
190 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
192 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
194 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
197 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
198 T5
const & arg5, T6
const & arg6):
199 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
202 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 204 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
210 { BaseClass::acquire(); }
212 { BaseClass::release(); }
213 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 214 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
216 {
return ImplHelper_getImplementationId( cd::get() ); }
235 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6 >
238 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6
240 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData6 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, AggImplInheritanceHelper6<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6> > > {};
242 template<
typename T1 >
244 template<
typename T1,
typename T2 >
246 BaseClass(arg1, arg2) {}
247 template<
typename T1,
typename T2,
typename T3 >
249 T1
const & arg1, T2
const & arg2, T3
const & arg3):
250 BaseClass(arg1, arg2, arg3) {}
251 template<
typename T1,
typename T2,
typename T3,
typename T4 >
253 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
254 BaseClass(arg1, arg2, arg3, arg4) {}
256 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
258 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
260 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
262 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
265 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
266 T5
const & arg5, T6
const & arg6):
267 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
274 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
277 return BaseClass::queryAggregation( rType );
280 { BaseClass::acquire(); }
282 { BaseClass::release(); }
284 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
286 {
return ImplHelper_getImplementationId( cd::get() ); }
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase6.hxx:148
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase6.hxx:106
~ImplHelper6()
Definition: implbase6.hxx:88
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase6.hxx:99
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:202
virtual void release() SAL_OVERRIDE
Definition: implbase6.hxx:281
Definition: Enterable.hxx:26
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase6.hxx:78
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
Definition: implbase6.hxx:108
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:546
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
virtual void acquire() SAL_OVERRIDE
Definition: implbase6.hxx:279
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase6.hxx:272
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase6.hxx:196
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase6.hxx:146
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase6.hxx:168
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase6.hxx:270
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase6.hxx:184
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:421
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase6.hxx:285
Base class to implement an UNO object supporting weak references, i.e.
Definition: weakagg.hxx:41
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.
unsigned char sal_Bool
Definition: types.h:48
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase6.hxx:180
virtual void release() SAL_OVERRIDE
decreasing m_refCount
Definition: implbase6.hxx:110
AggImplInheritanceHelper6()
Definition: implbase6.hxx:269
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase6.hxx:140
signed char sal_Int8
Definition: types.h:53
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Definition: implbase6.hxx:142
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:333
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase6.hxx:257
#define sal_False
Definition: types.h:49
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Definition: implbase6.hxx:144
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase6.hxx:82
virtual void release() SAL_OVERRIDE
decreasing m_refCount
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase6.hxx:264
virtual void release() SAL_OVERRIDE
Definition: implbase6.hxx:211
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase6.hxx:248
ImplInheritanceHelper6()
Definition: implbase6.hxx:201
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase6.hxx:138
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase6.hxx:114
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase6.hxx:215
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase6.hxx:252
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase6.hxx:236
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase6.hxx:283
AggImplInheritanceHelper6(T1 const &arg1)
Definition: implbase6.hxx:243
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
Definition: implbase6.hxx:72
ImplInheritanceHelper6(T1 const &arg1)
Definition: implbase6.hxx:175
virtual void acquire() SAL_OVERRIDE
Definition: implbase6.hxx:209
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase6.hxx:131
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase6.hxx:189
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase6.hxx:213
ImplInheritanceHelper6(T1 const &arg1, T2 const &arg2)
Definition: implbase6.hxx:177
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase6.hxx:112
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase6.hxx:80
AggImplInheritanceHelper6(T1 const &arg1, T2 const &arg2)
Definition: implbase6.hxx:245