23#ifndef INCLUDED_CPPUHELPER_IMPLBASE3_HXX
24#define INCLUDED_CPPUHELPER_IMPLBASE3_HXX
27#include "rtl/instance.hxx"
30#include "com/sun/star/lang/XTypeProvider.hpp"
42 type_entry m_typeEntries[ 3 + 1 ];
45 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Impl >
struct SAL_WARN_UNUSED ImplClassData3
47 class_data* operator ()()
49 static class_data3 s_cd =
52 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
54 CPPUHELPER_DETAIL_TYPEENTRY(Ifc1),
55 CPPUHELPER_DETAIL_TYPEENTRY(Ifc2),
56 CPPUHELPER_DETAIL_TYPEENTRY(Ifc3),
57 CPPUHELPER_DETAIL_TYPEENTRY(css::lang::XTypeProvider)
60 return reinterpret_cast< class_data *
>(&s_cd);
74 template<
class Ifc1,
class Ifc2,
class Ifc3 >
76 :
public css::lang::XTypeProvider
77 ,
public Ifc1,
public Ifc2,
public Ifc3
79 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, ImplHelper3<Ifc1, Ifc2, Ifc3> > > {};
81#if defined LIBO_INTERNAL_ONLY
89 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
91 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
109 template<
class Ifc1,
class Ifc2,
class Ifc3 >
112 ,
public css::lang::XTypeProvider
113 ,
public Ifc1,
public Ifc2,
public Ifc3
115 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, WeakImplHelper3<Ifc1, Ifc2, Ifc3> > > {};
117 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
119 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
121 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
123 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
141 template<
class Ifc1,
class Ifc2,
class Ifc3 >
144 ,
public css::lang::XTypeProvider
145 ,
public Ifc1,
public Ifc2,
public Ifc3
147 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, WeakAggImplHelper3<Ifc1, Ifc2, Ifc3> > > {};
149 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
151 virtual css::uno::Any SAL_CALL
queryAggregation( css::uno::Type
const & rType ) SAL_OVERRIDE
153 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
155 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
157 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
179 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3 >
182 ,
public Ifc1,
public Ifc2,
public Ifc3
184 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, ImplInheritanceHelper3<BaseClass, Ifc1, Ifc2, Ifc3> > > {};
186 template<
typename T1 >
188 template<
typename T1,
typename T2 >
190 BaseClass(arg1, arg2) {}
191 template<
typename T1,
typename T2,
typename T3 >
193 T1
const & arg1, T2
const & arg2, T3
const & arg3):
194 BaseClass(arg1, arg2, arg3) {}
195 template<
typename T1,
typename T2,
typename T3,
typename T4 >
197 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
198 BaseClass(arg1, arg2, arg3, arg4) {}
200 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
202 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
204 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
206 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
209 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
210 T5
const & arg5, T6
const & arg6):
211 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
214 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
221 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
222 { BaseClass::acquire(); }
223 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
224 { BaseClass::release(); }
225 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
247 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3 >
250 ,
public Ifc1,
public Ifc2,
public Ifc3
252 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData3 < Ifc1, Ifc2, Ifc3, AggImplInheritanceHelper3<BaseClass, Ifc1, Ifc2, Ifc3> > > {};
254 template<
typename T1 >
256 template<
typename T1,
typename T2 >
258 BaseClass(arg1, arg2) {}
259 template<
typename T1,
typename T2,
typename T3 >
261 T1
const & arg1, T2
const & arg2, T3
const & arg3):
262 BaseClass(arg1, arg2, arg3) {}
263 template<
typename T1,
typename T2,
typename T3,
typename T4 >
265 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
266 BaseClass(arg1, arg2, arg3, arg4) {}
268 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
270 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
272 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
274 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
277 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
278 T5
const & arg5, T6
const & arg6):
279 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
282 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
284 virtual css::uno::Any SAL_CALL
queryAggregation( css::uno::Type
const & rType ) SAL_OVERRIDE
289 return BaseClass::queryAggregation( rType );
291 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
292 { BaseClass::acquire(); }
293 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
294 { BaseClass::release(); }
295 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
AggImplInheritanceHelper3(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
AggImplInheritanceHelper3(T1 const &arg1, T2 const &arg2)
AggImplInheritanceHelper3(T1 const &arg1, T2 const &arg2, T3 const &arg3)
AggImplInheritanceHelper3(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
AggImplInheritanceHelper3(T1 const &arg1)
AggImplInheritanceHelper3()
virtual css::uno::Any SAL_CALL queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
AggImplInheritanceHelper3(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
~ImplHelper3() SAL_NOEXCEPT
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
ImplInheritanceHelper3(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
ImplInheritanceHelper3(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
ImplInheritanceHelper3(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
ImplInheritanceHelper3(T1 const &arg1, T2 const &arg2)
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
ImplInheritanceHelper3(T1 const &arg1, T2 const &arg2, T3 const &arg3)
ImplInheritanceHelper3(T1 const &arg1)
Base class to implement a UNO object supporting weak references, i.e.
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) SAL_OVERRIDE
If a delegator is set, then the delegator is queried for the demanded interface.
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
virtual void SAL_CALL 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.
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
increasing m_refCount
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
decreasing m_refCount
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
virtual css::uno::Any SAL_CALL queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Called by the delegator or queryInterface.
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
If a delegator is set, then the delegator is queried for the demanded interface.
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
decreasing m_refCount
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::...
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
increasing m_refCount
Sequence< Type > SAL_CALL ImplInhHelper_getTypes(class_data *cd, Sequence< Type > const &rAddTypes)
Sequence< Type > SAL_CALL ImplHelper_getTypes(class_data *cd)
css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Any SAL_CALL WeakImplHelper_query(Type const &rType, class_data *cd, void *that, OWeakObject *pBase)
css::uno::Sequence< sal_Int8 > ImplHelper_getImplementationId(SAL_UNUSED_PARAMETER class_data *)
Any SAL_CALL WeakAggImplHelper_queryAgg(Type const &rType, class_data *cd, void *that, OWeakAggObject *pBase)
Sequence< Type > SAL_CALL WeakImplHelper_getTypes(class_data *cd)
Sequence< Type > SAL_CALL WeakAggImplHelper_getTypes(class_data *cd)
Any SAL_CALL ImplHelper_query(Type const &rType, class_data *cd, void *that)
Any SAL_CALL ImplHelper_queryNoXInterface(Type const &rType, class_data *cd, void *that)