19 #ifndef INCLUDED_CPPUHELPER_IMPLBASE10_HXX 20 #define INCLUDED_CPPUHELPER_IMPLBASE10_HXX 35 type_entry m_typeEntries[ 10 + 1 ];
38 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Ifc8,
typename Ifc9,
typename Ifc10,
typename Impl >
39 struct ImplClassData10
41 class_data* operator ()()
43 static class_data10 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(css::lang::XTypeProvider)
61 return reinterpret_cast< class_data *
>(&s_cd);
75 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10 >
77 :
public css::lang::XTypeProvider
78 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10
80 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData10< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, ImplHelper10<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10> > > {};
82 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 83 {
return ImplHelper_query( rType, cd::get(),
this ); }
84 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 85 {
return ImplHelper_getTypes( cd::get() ); }
87 {
return ImplHelper_getImplementationId( cd::get() ); }
89 #if !defined _MSC_VER // public -> protected changes mangled names there 102 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10 >
105 ,
public css::lang::XTypeProvider
106 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10
108 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData10< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, WeakImplHelper10<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10> > > {};
110 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 111 {
return WeakImplHelper_query( rType, cd::get(),
this, static_cast<OWeakObject *>(
this) ); }
116 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 117 {
return WeakImplHelper_getTypes( cd::get() ); }
119 {
return ImplHelper_getImplementationId( cd::get() ); }
134 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10 >
137 ,
public css::lang::XTypeProvider
138 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10
140 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData10< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, WeakAggImplHelper10<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10> > > {};
142 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 145 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, static_cast<OWeakAggObject *>(
this) ); }
150 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 151 {
return WeakAggImplHelper_getTypes( cd::get() ); }
153 {
return ImplHelper_getImplementationId( cd::get() ); }
171 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10 >
174 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10
176 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData10< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, ImplInheritanceHelper10<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10> > > {};
178 template<
typename T1 >
180 template<
typename T1,
typename T2 >
182 BaseClass(arg1, arg2) {}
183 template<
typename T1,
typename T2,
typename T3 >
185 T1
const & arg1, T2
const & arg2, T3
const & arg3):
186 BaseClass(arg1, arg2, arg3) {}
187 template<
typename T1,
typename T2,
typename T3,
typename T4 >
189 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
190 BaseClass(arg1, arg2, arg3, arg4) {}
192 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
194 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
196 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
198 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
201 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
202 T5
const & arg5, T6
const & arg6):
203 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
208 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
214 { BaseClass::acquire(); }
216 { BaseClass::release(); }
218 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
220 {
return ImplHelper_getImplementationId( cd::get() ); }
239 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10 >
242 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10
244 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData10< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, AggImplInheritanceHelper10<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10> > > {};
246 template<
typename T1 >
248 template<
typename T1,
typename T2 >
250 BaseClass(arg1, arg2) {}
251 template<
typename T1,
typename T2,
typename T3 >
253 T1
const & arg1, T2
const & arg2, T3
const & arg3):
254 BaseClass(arg1, arg2, arg3) {}
255 template<
typename T1,
typename T2,
typename T3,
typename T4 >
257 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
258 BaseClass(arg1, arg2, arg3, arg4) {}
260 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
262 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
264 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
266 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
269 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
270 T5
const & arg5, T6
const & arg6):
271 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
278 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
281 return BaseClass::queryAggregation( rType );
284 { BaseClass::acquire(); }
286 { BaseClass::release(); }
288 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
290 {
return ImplHelper_getImplementationId( cd::get() ); }
AggImplInheritanceHelper10(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase10.hxx:256
AggImplInheritanceHelper10(T1 const &arg1)
Definition: implbase10.hxx:247
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase10.hxx:219
ImplInheritanceHelper10(T1 const &arg1)
Definition: implbase10.hxx:179
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:43
ImplInheritanceHelper10(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase10.hxx:188
Definition: Enterable.hxx:26
AggImplInheritanceHelper10(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase10.hxx:268
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase10.hxx:150
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.
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase10.hxx:135
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase10.hxx:86
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase10.hxx:289
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
ImplInheritanceHelper10(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase10.hxx:200
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Definition: implbase10.hxx:148
virtual void release() SAL_OVERRIDE
Definition: implbase10.hxx:285
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase10.hxx:118
AggImplInheritanceHelper10(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase10.hxx:252
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:421
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase10.hxx:116
Base class to implement an UNO object supporting weak references, i.e.
Definition: weakagg.hxx:41
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase10.hxx:274
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::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase10.hxx:287
unsigned char sal_Bool
Definition: types.h:48
AggImplInheritanceHelper10()
Definition: implbase10.hxx:273
ImplInheritanceHelper10(T1 const &arg1, T2 const &arg2)
Definition: implbase10.hxx:181
virtual void acquire() SAL_OVERRIDE
Definition: implbase10.hxx:283
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase10.hxx:84
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
Definition: implbase10.hxx:76
AggImplInheritanceHelper10(T1 const &arg1, T2 const &arg2)
Definition: implbase10.hxx:249
signed char sal_Int8
Definition: types.h:53
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase10.hxx:142
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:333
#define sal_False
Definition: types.h:49
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Definition: implbase10.hxx:146
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase10.hxx:144
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase10.hxx:240
virtual void release() SAL_OVERRIDE
decreasing m_refCount
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase10.hxx:206
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase10.hxx:172
virtual void release() SAL_OVERRIDE
decreasing m_refCount
Definition: implbase10.hxx:114
virtual void acquire() SAL_OVERRIDE
Definition: implbase10.hxx:213
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase10.hxx:217
ImplInheritanceHelper10(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase10.hxx:193
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase10.hxx:152
ImplInheritanceHelper10()
Definition: implbase10.hxx:205
virtual void release() SAL_OVERRIDE
Definition: implbase10.hxx:215
ImplInheritanceHelper10(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase10.hxx:184
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase10.hxx:82
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
Definition: implbase10.hxx:112
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
AggImplInheritanceHelper10(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase10.hxx:261
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase10.hxx:276
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase10.hxx:103
~ImplHelper10()
Definition: implbase10.hxx:92
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase10.hxx:110