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 90 #elif defined __clang__ 91 #pragma clang diagnostic push 92 #pragma clang diagnostic ignored "-Wnon-virtual-dtor" 95 #if defined _MSC_VER && defined __clang__ 96 #pragma clang diagnostic pop 107 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
110 ,
public css::lang::XTypeProvider
111 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
113 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> > > {};
115 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 116 {
return WeakImplHelper_query( rType, cd::get(),
this, static_cast<OWeakObject *>(
this) ); }
121 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 122 {
return WeakImplHelper_getTypes( cd::get() ); }
124 {
return ImplHelper_getImplementationId( cd::get() ); }
139 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
142 ,
public css::lang::XTypeProvider
143 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
145 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> > > {};
147 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 150 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, static_cast<OWeakAggObject *>(
this) ); }
155 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 156 {
return WeakAggImplHelper_getTypes( cd::get() ); }
158 {
return ImplHelper_getImplementationId( cd::get() ); }
176 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
179 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
181 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> > > {};
183 template<
typename T1 >
185 template<
typename T1,
typename T2 >
187 BaseClass(arg1, arg2) {}
188 template<
typename T1,
typename T2,
typename T3 >
190 T1
const & arg1, T2
const & arg2, T3
const & arg3):
191 BaseClass(arg1, arg2, arg3) {}
192 template<
typename T1,
typename T2,
typename T3,
typename T4 >
194 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
195 BaseClass(arg1, arg2, arg3, arg4) {}
197 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
199 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
201 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
203 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
206 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
207 T5
const & arg5, T6
const & arg6):
208 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
211 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 213 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
219 { BaseClass::acquire(); }
221 { BaseClass::release(); }
222 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 223 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
225 {
return ImplHelper_getImplementationId( cd::get() ); }
244 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9 >
247 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9
249 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> > > {};
251 template<
typename T1 >
253 template<
typename T1,
typename T2 >
255 BaseClass(arg1, arg2) {}
256 template<
typename T1,
typename T2,
typename T3 >
258 T1
const & arg1, T2
const & arg2, T3
const & arg3):
259 BaseClass(arg1, arg2, arg3) {}
260 template<
typename T1,
typename T2,
typename T3,
typename T4 >
262 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
263 BaseClass(arg1, arg2, arg3, arg4) {}
265 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
267 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
269 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
271 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
274 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
275 T5
const & arg5, T6
const & arg6):
276 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
283 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
286 return BaseClass::queryAggregation( rType );
289 { BaseClass::acquire(); }
291 { BaseClass::release(); }
293 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
295 {
return ImplHelper_getImplementationId( cd::get() ); }
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:423
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase9.hxx:121
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:335
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase9.hxx:281
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:147
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase9.hxx:123
ImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase9.hxx:193
ImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase9.hxx:189
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase9.hxx:155
ImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase9.hxx:198
signed char sal_Int8
Definition: types.h:53
virtual void release() SAL_OVERRIDE
Definition: implbase9.hxx:290
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: implbase9.hxx:115
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 css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Called by the delegator or queryInterface.
Definition: implbase9.hxx:149
AggImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase9.hxx:261
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase9.hxx:85
virtual void release() SAL_OVERRIDE
Definition: implbase9.hxx:220
AggImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase9.hxx:257
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase9.hxx:140
unsigned char sal_Bool
Definition: types.h:48
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
virtual void acquire() SAL_OVERRIDE
Definition: implbase9.hxx:218
ImplInheritanceHelper9()
Definition: implbase9.hxx:210
AggImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase9.hxx:266
Definition: Enterable.hxx:26
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase9.hxx:294
ImplInheritanceHelper9(T1 const &arg1, T2 const &arg2)
Definition: implbase9.hxx:186
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:43
~ImplHelper9()
Definition: implbase9.hxx:94
AggImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase9.hxx:273
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
Definition: implbase9.hxx:117
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase9.hxx:279
ImplInheritanceHelper9(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase9.hxx:205
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase9.hxx:83
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase9.hxx:177
virtual void acquire() SAL_OVERRIDE
Definition: implbase9.hxx:288
AggImplInheritanceHelper9()
Definition: implbase9.hxx:278
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:546
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase9.hxx:81
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
Definition: implbase9.hxx:75
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase9.hxx:292
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase9.hxx:211
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Definition: implbase9.hxx:151
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase9.hxx:224
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase9.hxx:222
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase9.hxx:245
ImplInheritanceHelper9(T1 const &arg1)
Definition: implbase9.hxx:184
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase9.hxx:108
virtual void release() SAL_OVERRIDE
decreasing m_refCount
Definition: implbase9.hxx:119
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase9.hxx:157
AggImplInheritanceHelper9(T1 const &arg1)
Definition: implbase9.hxx:252
virtual void release() SAL_OVERRIDE
decreasing m_refCount
AggImplInheritanceHelper9(T1 const &arg1, T2 const &arg2)
Definition: implbase9.hxx:254
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Definition: implbase9.hxx:153
Base class to implement an UNO object supporting weak references, i.e.
Definition: weakagg.hxx:41