23#ifndef INCLUDED_CPPUHELPER_IMPLBASE1_HXX
24#define INCLUDED_CPPUHELPER_IMPLBASE1_HXX
27#include "rtl/instance.hxx"
30#include "com/sun/star/lang/XTypeProvider.hpp"
42 type_entry m_typeEntries[ 1 + 1 ];
45 template<
typename Ifc1,
typename Impl >
struct SAL_WARN_UNUSED ImplClassData1
47 class_data* operator ()()
49 static class_data1 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(css::lang::XTypeProvider)
58 return reinterpret_cast< class_data *
>(&s_cd);
72 template<
class Ifc1 >
74 :
public css::lang::XTypeProvider
77 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData1 < Ifc1, ImplHelper1<Ifc1> > > {};
79#if defined LIBO_INTERNAL_ONLY
87 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
89 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
111 template<
class Ifc1 >
114 ,
public css::lang::XTypeProvider
117 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData1< Ifc1, WeakImplHelper1< Ifc1 > > > {};
119 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
121 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
123 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
125 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
143 template<
class Ifc1 >
146 ,
public css::lang::XTypeProvider
149 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData1< Ifc1, WeakAggImplHelper1< Ifc1 > > > {};
151 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
153 virtual css::uno::Any SAL_CALL
queryAggregation( css::uno::Type
const & rType ) SAL_OVERRIDE
155 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
157 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
159 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
180 template<
class BaseClass,
class Ifc1 >
185 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData1< Ifc1, ImplInheritanceHelper1< BaseClass, Ifc1 > > > {};
187 template<
typename T1 >
189 template<
typename T1,
typename T2 >
191 BaseClass(arg1, arg2) {}
192 template<
typename T1,
typename T2,
typename T3 >
194 T1
const & arg1, T2
const & arg2, T3
const & arg3):
195 BaseClass(arg1, arg2, arg3) {}
196 template<
typename T1,
typename T2,
typename T3,
typename T4 >
198 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
199 BaseClass(arg1, arg2, arg3, arg4) {}
201 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
203 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
205 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
207 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
210 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
211 T5
const & arg5, T6
const & arg6):
212 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
215 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
222 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
223 { BaseClass::acquire(); }
224 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
225 { BaseClass::release(); }
226 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() SAL_OVERRIDE
248 template<
class BaseClass,
class Ifc1 >
253 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData1< Ifc1, AggImplInheritanceHelper1< BaseClass, Ifc1 > > > {};
255 template<
typename T1 >
257 template<
typename T1,
typename T2 >
259 BaseClass(arg1, arg2) {}
260 template<
typename T1,
typename T2,
typename T3 >
262 T1
const & arg1, T2
const & arg2, T3
const & arg3):
263 BaseClass(arg1, arg2, arg3) {}
264 template<
typename T1,
typename T2,
typename T3,
typename T4 >
266 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
267 BaseClass(arg1, arg2, arg3, arg4) {}
269 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
271 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
273 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
275 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
278 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
279 T5
const & arg5, T6
const & arg6):
280 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
283 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType ) SAL_OVERRIDE
285 virtual css::uno::Any SAL_CALL
queryAggregation( css::uno::Type
const & rType ) SAL_OVERRIDE
290 return BaseClass::queryAggregation( rType );
292 virtual void SAL_CALL
acquire() SAL_NOEXCEPT SAL_OVERRIDE
293 { BaseClass::acquire(); }
294 virtual void SAL_CALL
release() SAL_NOEXCEPT SAL_OVERRIDE
295 { BaseClass::release(); }
296 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< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
virtual css::uno::Any SAL_CALL queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
AggImplInheritanceHelper1(T1 const &arg1, T2 const &arg2, T3 const &arg3)
AggImplInheritanceHelper1(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
AggImplInheritanceHelper1(T1 const &arg1)
AggImplInheritanceHelper1()
AggImplInheritanceHelper1(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
AggImplInheritanceHelper1(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
AggImplInheritanceHelper1(T1 const &arg1, T2 const &arg2)
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
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
~ImplHelper1() SAL_NOEXCEPT
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
ImplInheritanceHelper1(T1 const &arg1)
virtual void SAL_CALL release() SAL_NOEXCEPT SAL_OVERRIDE
ImplInheritanceHelper1(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
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
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
ImplInheritanceHelper1(T1 const &arg1, T2 const &arg2, T3 const &arg3)
ImplInheritanceHelper1(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
ImplInheritanceHelper1(T1 const &arg1, T2 const &arg2)
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
ImplInheritanceHelper1(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
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 acquire() SAL_NOEXCEPT SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
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::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.
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() SAL_OVERRIDE
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
increasing m_refCount
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::...
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)