19 #ifndef INCLUDED_CPPUHELPER_IMPLBASE11_HXX 20 #define INCLUDED_CPPUHELPER_IMPLBASE11_HXX 35 type_entry m_typeEntries[ 11 + 1 ];
38 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Ifc8,
typename Ifc9,
typename Ifc10,
typename Ifc11,
typename Impl >
39 struct ImplClassData11
41 class_data* operator ()()
43 static class_data11 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(Ifc10),
58 CPPUHELPER_DETAIL_TYPEENTRY(Ifc11),
59 CPPUHELPER_DETAIL_TYPEENTRY(css::lang::XTypeProvider)
62 return reinterpret_cast< class_data *
>(&s_cd);
76 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11 >
78 :
public css::lang::XTypeProvider
79 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11
81 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData11< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, ImplHelper11<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11> > > {};
83 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 84 {
return ImplHelper_query( rType, cd::get(),
this ); }
85 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 86 {
return ImplHelper_getTypes( cd::get() ); }
88 {
return ImplHelper_getImplementationId( cd::get() ); }
90 #if !defined _MSC_VER // public -> protected changes mangled names there 103 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11 >
106 ,
public css::lang::XTypeProvider
107 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11
109 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData11< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, WeakImplHelper11<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11> > > {};
111 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 112 {
return WeakImplHelper_query( rType, cd::get(),
this, static_cast<OWeakObject *>(
this) ); }
117 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 118 {
return WeakImplHelper_getTypes( cd::get() ); }
120 {
return ImplHelper_getImplementationId( cd::get() ); }
135 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11 >
138 ,
public css::lang::XTypeProvider
139 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11
141 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData11< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, WeakAggImplHelper11<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11> > > {};
143 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 146 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, static_cast<OWeakAggObject *>(
this) ); }
151 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 152 {
return WeakAggImplHelper_getTypes( cd::get() ); }
154 {
return ImplHelper_getImplementationId( cd::get() ); }
172 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11 >
175 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11
177 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData11< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, ImplInheritanceHelper11<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11> > > {};
179 template<
typename T1 >
181 template<
typename T1,
typename T2 >
183 BaseClass(arg1, arg2) {}
184 template<
typename T1,
typename T2,
typename T3 >
186 T1
const & arg1, T2
const & arg2, T3
const & arg3):
187 BaseClass(arg1, arg2, arg3) {}
188 template<
typename T1,
typename T2,
typename T3,
typename T4 >
190 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
191 BaseClass(arg1, arg2, arg3, arg4) {}
193 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
195 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
197 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
199 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
202 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
203 T5
const & arg5, T6
const & arg6):
204 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
209 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
215 { BaseClass::acquire(); }
217 { BaseClass::release(); }
219 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
221 {
return ImplHelper_getImplementationId( cd::get() ); }
240 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11 >
243 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11
245 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData11< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, AggImplInheritanceHelper11<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11> > > {};
247 template<
typename T1 >
249 template<
typename T1,
typename T2 >
251 BaseClass(arg1, arg2) {}
252 template<
typename T1,
typename T2,
typename T3 >
254 T1
const & arg1, T2
const & arg2, T3
const & arg3):
255 BaseClass(arg1, arg2, arg3) {}
256 template<
typename T1,
typename T2,
typename T3,
typename T4 >
258 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
259 BaseClass(arg1, arg2, arg3, arg4) {}
261 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
263 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
265 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
267 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
270 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
271 T5
const & arg5, T6
const & arg6):
272 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
279 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
282 return BaseClass::queryAggregation( rType );
285 { BaseClass::acquire(); }
287 { BaseClass::release(); }
289 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
291 {
return ImplHelper_getImplementationId( cd::get() ); }
ImplInheritanceHelper11(T1 const &arg1, T2 const &arg2)
Definition: implbase11.hxx:182
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase11.hxx:136
ImplInheritanceHelper11()
Definition: implbase11.hxx:206
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase11.hxx:277
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase11.hxx:87
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:43
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase11.hxx:153
Definition: Enterable.hxx:26
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase11.hxx:111
virtual void release() SAL_OVERRIDE
Definition: implbase11.hxx:216
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
Definition: implbase11.hxx:77
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase11.hxx:119
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 css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase11.hxx:145
AggImplInheritanceHelper11(T1 const &arg1)
Definition: implbase11.hxx:248
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
AggImplInheritanceHelper11(T1 const &arg1, T2 const &arg2)
Definition: implbase11.hxx:250
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase11.hxx:207
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:421
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
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Definition: implbase11.hxx:149
virtual void acquire() SAL_OVERRIDE
Definition: implbase11.hxx:214
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase11.hxx:241
AggImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase11.hxx:262
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase11.hxx:173
ImplInheritanceHelper11(T1 const &arg1)
Definition: implbase11.hxx:180
~ImplHelper11()
Definition: implbase11.hxx:93
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase11.hxx:85
virtual void release() SAL_OVERRIDE
decreasing m_refCount
Definition: implbase11.hxx:115
signed char sal_Int8
Definition: types.h:53
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:333
#define sal_False
Definition: types.h:49
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase11.hxx:117
AggImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase11.hxx:257
ImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase11.hxx:201
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase11.hxx:104
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase11.hxx:220
virtual void release() SAL_OVERRIDE
decreasing m_refCount
ImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase11.hxx:185
ImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase11.hxx:194
ImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase11.hxx:189
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase11.hxx:143
AggImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase11.hxx:269
AggImplInheritanceHelper11()
Definition: implbase11.hxx:274
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Definition: implbase11.hxx:147
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase11.hxx:288
virtual void release() SAL_OVERRIDE
Definition: implbase11.hxx:286
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase11.hxx:290
virtual void acquire() SAL_OVERRIDE
Definition: implbase11.hxx:284
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase11.hxx:151
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase11.hxx:83
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
Definition: implbase11.hxx:113
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase11.hxx:275
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase11.hxx:218
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
AggImplInheritanceHelper11(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase11.hxx:253