3 #ifndef INCLUDED_CPPUHELPER_IMPLBASE7_HXX
4 #define INCLUDED_CPPUHELPER_IMPLBASE7_HXX
10 #include "com/sun/star/lang/XTypeProvider.hpp"
22 type_entry m_typeEntries[ 7 + 1 ];
25 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Impl >
28 class_data* operator ()()
30 static class_data7 s_cd =
33 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
35 CPPUHELPER_DETAIL_TYPEENTRY(Ifc1),
36 CPPUHELPER_DETAIL_TYPEENTRY(Ifc2),
37 CPPUHELPER_DETAIL_TYPEENTRY(Ifc3),
38 CPPUHELPER_DETAIL_TYPEENTRY(Ifc4),
39 CPPUHELPER_DETAIL_TYPEENTRY(Ifc5),
40 CPPUHELPER_DETAIL_TYPEENTRY(Ifc6),
41 CPPUHELPER_DETAIL_TYPEENTRY(Ifc7),
42 CPPUHELPER_DETAIL_TYPEENTRY(css::lang::XTypeProvider)
45 return reinterpret_cast< class_data *
>(&s_cd);
59 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
61 :
public css::lang::XTypeProvider
62 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
64 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, ImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
66 #if defined LIBO_INTERNAL_ONLY
75 {
return ImplHelper_query( rType, cd::get(),
this ); }
77 {
return ImplHelper_getTypes( cd::get() ); }
79 {
return ImplHelper_getImplementationId( cd::get() ); }
81 #if !defined _MSC_VER // public -> protected changes mangled names there
94 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
97 ,
public css::lang::XTypeProvider
98 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
100 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
103 {
return WeakImplHelper_query( rType, cd::get(),
this, static_cast<OWeakObject *>(
this) ); }
109 {
return WeakImplHelper_getTypes( cd::get() ); }
111 {
return ImplHelper_getImplementationId( cd::get() ); }
126 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
129 ,
public css::lang::XTypeProvider
130 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
132 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakAggImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
137 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, static_cast<OWeakAggObject *>(
this) ); }
143 {
return WeakAggImplHelper_getTypes( cd::get() ); }
145 {
return ImplHelper_getImplementationId( cd::get() ); }
163 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
166 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
168 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, ImplInheritanceHelper7<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
170 template<
typename T1 >
172 template<
typename T1,
typename T2 >
174 BaseClass(arg1, arg2) {}
175 template<
typename T1,
typename T2,
typename T3 >
177 T1
const & arg1, T2
const & arg2, T3
const & arg3):
178 BaseClass(arg1, arg2, arg3) {}
179 template<
typename T1,
typename T2,
typename T3,
typename T4 >
181 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
182 BaseClass(arg1, arg2, arg3, arg4) {}
184 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
186 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
188 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
190 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
193 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
194 T5
const & arg5, T6
const & arg6):
195 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
200 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
206 { BaseClass::acquire(); }
208 { BaseClass::release(); }
210 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
212 {
return ImplHelper_getImplementationId( cd::get() ); }
231 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
234 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
236 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, AggImplInheritanceHelper7<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
238 template<
typename T1 >
240 template<
typename T1,
typename T2 >
242 BaseClass(arg1, arg2) {}
243 template<
typename T1,
typename T2,
typename T3 >
245 T1
const & arg1, T2
const & arg2, T3
const & arg3):
246 BaseClass(arg1, arg2, arg3) {}
247 template<
typename T1,
typename T2,
typename T3,
typename T4 >
249 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
250 BaseClass(arg1, arg2, arg3, arg4) {}
252 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
254 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
256 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
258 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
261 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
262 T5
const & arg5, T6
const & arg6):
263 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
270 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
273 return BaseClass::queryAggregation( rType );
276 { BaseClass::acquire(); }
278 { BaseClass::release(); }
280 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
282 {
return ImplHelper_getImplementationId( cd::get() ); }
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Definition: implbase7.hxx:138
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: implbase7.hxx:102
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: implbase7.hxx:205
ImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase7.hxx:185
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase7.hxx:127
unsigned char sal_Bool
Definition: types.h:18
AggImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase7.hxx:253
ImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase7.hxx:176
AggImplInheritanceHelper7(T1 const &arg1)
Definition: implbase7.hxx:239
ImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase7.hxx:180
AggImplInheritanceHelper7(T1 const &arg1, T2 const &arg2)
Definition: implbase7.hxx:241
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase7.hxx:266
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
Definition: implbase7.hxx:275
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase7.hxx:108
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Called by the delegator or queryInterface.
Definition: implbase7.hxx:136
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase7.hxx:142
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase7.hxx:209
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Base class to implement a UNO object supporting weak references, i.e.
Definition: weakagg.hxx:25
AggImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase7.hxx:248
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
increasing m_refCount
Definition: implbase7.hxx:104
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase7.hxx:110
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase7.hxx:198
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase7.hxx:144
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase7.hxx:281
AggImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase7.hxx:244
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase7.hxx:78
#define SAL_WARN_UNUSED
Annotate classes where a compiler should warn if an instance is unused.
Definition: types.h:567
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
decreasing m_refCount
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
increasing m_refCount
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Definition: implbase7.hxx:140
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:528
ImplInheritanceHelper7()
Definition: implbase7.hxx:197
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase7.hxx:232
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: implbase7.hxx:277
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase7.hxx:164
ImplInheritanceHelper7(T1 const &arg1, T2 const &arg2)
Definition: implbase7.hxx:173
css::uno::Any queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:23
#define SAL_NOEXCEPT
Macro for C++11 "noexcept" vs.
Definition: types.h:396
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:274
virtual void acquire() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
Definition: implbase7.hxx:207
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.
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase7.hxx:95
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase7.hxx:74
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: implbase7.hxx:134
ImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase7.hxx:192
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase7.hxx:279
ImplInheritanceHelper7(T1 const &arg1)
Definition: implbase7.hxx:171
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase7.hxx:76
signed char sal_Int8
Definition: types.h:23
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:371
AggImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase7.hxx:260
virtual void release() SAL_NOEXCEPT SAL_OVERRIDE
decreasing m_refCount
Definition: implbase7.hxx:106
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase7.hxx:268
AggImplInheritanceHelper7()
Definition: implbase7.hxx:265
Base class to implement a UNO object supporting weak references, i.e.
Definition: weak.hxx:27
~ImplHelper7() SAL_NOEXCEPT
Definition: implbase7.hxx:84
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase7.hxx:211
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
Definition: implbase7.hxx:60