19 #ifndef INCLUDED_CPPUHELPER_IMPLBASE9_HXX
20 #define INCLUDED_CPPUHELPER_IMPLBASE9_HXX
35 type_entry m_typeEntries[ 9 + 1 ];
38 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Ifc8,
typename Ifc9,
typename Impl >
41 class_data* operator ()()
43 static class_data9 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(Ifc7),
55 CPPUHELPER_DETAIL_TYPEENTRY(Ifc8),
56 CPPUHELPER_DETAIL_TYPEENTRY(Ifc9),
57 CPPUHELPER_DETAIL_TYPEENTRY(css::lang::XTypeProvider)
60 return reinterpret_cast< class_data *
>(&s_cd);
74 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
76 :
public css::lang::XTypeProvider
77 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
79 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, ImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
81 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE
82 {
return ImplHelper_query( rType, cd::get(),
this ); }
83 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE
84 {
return ImplHelper_getTypes( cd::get() ); }
86 {
return ImplHelper_getImplementationId( cd::get() ); }
88 #if !defined _MSC_VER // public -> protected changes mangled names there
101 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
104 ,
public css::lang::XTypeProvider
105 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
107 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, WeakImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
109 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE
110 {
return WeakImplHelper_query( rType, cd::get(),
this, static_cast<OWeakObject *>(
this) ); }
115 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE
116 {
return WeakImplHelper_getTypes( cd::get() ); }
118 {
return ImplHelper_getImplementationId( cd::get() ); }
133 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
136 ,
public css::lang::XTypeProvider
137 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
139 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, WeakAggImplHelper9<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
141 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE
144 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, static_cast<OWeakAggObject *>(
this) ); }
149 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE
150 {
return WeakAggImplHelper_getTypes( cd::get() ); }
152 {
return ImplHelper_getImplementationId( cd::get() ); }
170 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
173 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
175 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, ImplInheritanceHelper9<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
177 template<
typename T1 >
179 template<
typename T1,
typename T2 >
181 BaseClass(arg1, arg2) {}
182 template<
typename T1,
typename T2,
typename T3 >
184 T1
const & arg1, T2
const & arg2, T3
const & arg3):
185 BaseClass(arg1, arg2, arg3) {}
186 template<
typename T1,
typename T2,
typename T3,
typename T4 >
188 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
189 BaseClass(arg1, arg2, arg3, arg4) {}
191 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
193 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
195 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
197 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
200 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
201 T5
const & arg5, T6
const & arg6):
202 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
205 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE
207 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
213 { BaseClass::acquire(); }
215 { BaseClass::release(); }
216 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE
217 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
219 {
return ImplHelper_getImplementationId( cd::get() ); }
238 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
241 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
243 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData9< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, AggImplInheritanceHelper9<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9> > > {};
245 template<
typename T1 >
247 template<
typename T1,
typename T2 >
249 BaseClass(arg1, arg2) {}
250 template<
typename T1,
typename T2,
typename T3 >
252 T1
const & arg1, T2
const & arg2, T3
const & arg3):
253 BaseClass(arg1, arg2, arg3) {}
254 template<
typename T1,
typename T2,
typename T3,
typename T4 >
256 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
257 BaseClass(arg1, arg2, arg3, arg4) {}
259 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
261 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
263 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
265 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
268 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
269 T5
const & arg5, T6
const & arg6):
270 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
277 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
280 return BaseClass::queryAggregation( rType );
283 { BaseClass::acquire(); }
285 { BaseClass::release(); }
286 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (css::uno::RuntimeException)
SAL_OVERRIDE
287 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
289 {
return ImplHelper_getImplementationId( cd::get() ); }
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
Definition: implbase9.hxx:111
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
Definition: implbase9.hxx:75
AggImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase9.hxx:260
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase9.hxx:288
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase9.hxx:239
AggImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase9.hxx:267
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Definition: implbase9.hxx:147
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Basic queryInterface() implementation supporting ::sun::star::uno::XWeak and ::sun::star::uno::XInter...
Definition: implbase9.hxx:109
virtual void release() SAL_OVERRIDE
Definition: implbase9.hxx:214
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase9.hxx:171
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase9.hxx:275
~ImplHelper9()
Definition: implbase9.hxx:91
unsigned char sal_Bool
Definition: types.h:48
ImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase9.hxx:183
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase9.hxx:216
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:43
AggImplInheritanceHelper9(T1 const &arg1, T2 const &arg2)
Definition: implbase9.hxx:248
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase9.hxx:117
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:546
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.
virtual void acquire() SAL_OVERRIDE
Definition: implbase9.hxx:212
virtual void release() SAL_OVERRIDE
decreasing m_refCount
virtual void release() SAL_OVERRIDE
decreasing m_refCount
Definition: implbase9.hxx:113
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase9.hxx:273
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase9.hxx:102
ImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase9.hxx:192
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:421
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Called by the delegator or queryInterface.
Definition: implbase9.hxx:143
AggImplInheritanceHelper9()
Definition: implbase9.hxx:272
AggImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase9.hxx:255
ImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase9.hxx:199
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase9.hxx:83
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase9.hxx:151
virtual void acquire() SAL_OVERRIDE
Definition: implbase9.hxx:282
ImplInheritanceHelper9(T1 const &arg1)
Definition: implbase9.hxx:178
virtual void release() SAL_OVERRIDE
Definition: implbase9.hxx:284
ImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase9.hxx:187
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: implbase9.hxx:141
Base class to implement an UNO object supporting weak references, i.e.
Definition: weakagg.hxx:41
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase9.hxx:115
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase9.hxx:205
signed char sal_Int8
Definition: types.h:53
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase9.hxx:134
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase9.hxx:81
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:333
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
#define sal_False
Definition: types.h:49
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase9.hxx:85
AggImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase9.hxx:251
AggImplInheritanceHelper9(T1 const &arg1)
Definition: implbase9.hxx:246
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase9.hxx:286
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase9.hxx:218
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase9.hxx:149
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Definition: implbase9.hxx:145
ImplInheritanceHelper9()
Definition: implbase9.hxx:204
ImplInheritanceHelper9(T1 const &arg1, T2 const &arg2)
Definition: implbase9.hxx:180