19 #ifndef INCLUDED_CPPUHELPER_IMPLBASE5_HXX 20 #define INCLUDED_CPPUHELPER_IMPLBASE5_HXX 35 type_entry m_typeEntries[ 5 + 1 ];
38 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Impl >
41 class_data* operator ()()
43 static class_data5 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(css::lang::XTypeProvider)
56 return reinterpret_cast< class_data *
>(&s_cd);
70 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
72 :
public css::lang::XTypeProvider
73 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
75 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, ImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
77 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 78 {
return ImplHelper_query( rType, cd::get(),
this ); }
79 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 80 {
return ImplHelper_getTypes( cd::get() ); }
82 {
return ImplHelper_getImplementationId( cd::get() ); }
84 #if !defined _MSC_VER // public -> protected changes mangled names there 97 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
100 ,
public css::lang::XTypeProvider
101 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
103 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, WeakImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
105 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 106 {
return WeakImplHelper_query( rType, cd::get(),
this, static_cast<OWeakObject *>(
this) ); }
111 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 112 {
return WeakImplHelper_getTypes( cd::get() ); }
114 {
return ImplHelper_getImplementationId( cd::get() ); }
129 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
132 ,
public css::lang::XTypeProvider
133 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
135 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, WeakAggImplHelper5<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
137 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 140 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, static_cast<OWeakAggObject *>(
this) ); }
145 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 146 {
return WeakAggImplHelper_getTypes( cd::get() ); }
148 {
return ImplHelper_getImplementationId( cd::get() ); }
166 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
169 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
171 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, ImplInheritanceHelper5<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
173 template<
typename T1 >
175 template<
typename T1,
typename T2 >
177 BaseClass(arg1, arg2) {}
178 template<
typename T1,
typename T2,
typename T3 >
180 T1
const & arg1, T2
const & arg2, T3
const & arg3):
181 BaseClass(arg1, arg2, arg3) {}
182 template<
typename T1,
typename T2,
typename T3,
typename T4 >
184 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
185 BaseClass(arg1, arg2, arg3, arg4) {}
187 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
189 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
191 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
193 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
196 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
197 T5
const & arg5, T6
const & arg6):
198 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
201 virtual css::uno::Any SAL_CALL
queryInterface( css::uno::Type
const & rType )
throw (css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 203 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
209 { BaseClass::acquire(); }
211 { BaseClass::release(); }
212 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes() throw (
css::uno::RuntimeException, std::exception)
SAL_OVERRIDE 213 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
215 {
return ImplHelper_getImplementationId( cd::get() ); }
234 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5 >
237 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5
239 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData5 < Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, AggImplInheritanceHelper5<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5> > > {};
241 template<
typename T1 >
243 template<
typename T1,
typename T2 >
245 BaseClass(arg1, arg2) {}
246 template<
typename T1,
typename T2,
typename T3 >
248 T1
const & arg1, T2
const & arg2, T3
const & arg3):
249 BaseClass(arg1, arg2, arg3) {}
250 template<
typename T1,
typename T2,
typename T3,
typename T4 >
252 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
253 BaseClass(arg1, arg2, arg3, arg4) {}
255 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
257 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
259 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
261 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
264 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
265 T5
const & arg5, T6
const & arg6):
266 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
273 css::uno::Any aRet( ImplHelper_queryNoXInterface( rType, cd::get(),
this ) );
276 return BaseClass::queryAggregation( rType );
279 { BaseClass::acquire(); }
281 { BaseClass::release(); }
283 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
285 {
return ImplHelper_getImplementationId( cd::get() ); }
AggImplInheritanceHelper5(T1 const &arg1)
Definition: implbase5.hxx:242
ImplInheritanceHelper5()
Definition: implbase5.hxx:200
AggImplInheritanceHelper5(T1 const &arg1, T2 const &arg2)
Definition: implbase5.hxx:244
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:43
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase5.hxx:271
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase5.hxx:235
virtual void acquire() SAL_OVERRIDE
Definition: implbase5.hxx:278
Definition: Enterable.hxx:26
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase5.hxx:130
ImplInheritanceHelper5(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase5.hxx:188
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:546
ImplInheritanceHelper5(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase5.hxx:183
AggImplInheritanceHelper5(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase5.hxx:256
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
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
ImplInheritanceHelper5(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase5.hxx:195
virtual void acquire() SAL_OVERRIDE
Definition: implbase5.hxx:208
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:421
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface which...
Definition: implbase5.hxx:98
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase5.hxx:147
Base class to implement an UNO object supporting weak references, i.e.
Definition: weakagg.hxx:41
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase5.hxx:145
ImplInheritanceHelper5(T1 const &arg1)
Definition: implbase5.hxx:174
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase5.hxx:214
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 void release() SAL_OVERRIDE
Definition: implbase5.hxx:210
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase5.hxx:105
unsigned char sal_Bool
Definition: types.h:48
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase5.hxx:282
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Definition: implbase5.hxx:143
AggImplInheritanceHelper5(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase5.hxx:247
AggImplInheritanceHelper5(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase5.hxx:251
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
Definition: implbase5.hxx:107
~ImplHelper5()
Definition: implbase5.hxx:87
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase5.hxx:79
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase5.hxx:137
signed char sal_Int8
Definition: types.h:53
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase5.hxx:284
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:333
AggImplInheritanceHelper5(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase5.hxx:263
#define sal_False
Definition: types.h:49
Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inher...
Definition: implbase5.hxx:167
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase5.hxx:113
ImplInheritanceHelper5(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase5.hxx:179
ImplInheritanceHelper5(T1 const &arg1, T2 const &arg2)
Definition: implbase5.hxx:176
virtual void release() SAL_OVERRIDE
decreasing m_refCount
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase5.hxx:77
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase5.hxx:201
virtual void release() SAL_OVERRIDE
Definition: implbase5.hxx:280
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Definition: implbase5.hxx:141
virtual css::uno::Any queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase5.hxx:269
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase5.hxx:111
virtual void release() SAL_OVERRIDE
decreasing m_refCount
Definition: implbase5.hxx:109
virtual css::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase5.hxx:81
virtual css::uno::Sequence< css::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase5.hxx:212
virtual css::uno::Any queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase5.hxx:139
AggImplInheritanceHelper5()
Definition: implbase5.hxx:268
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Implementation helper implementing interface css::lang::XTypeProvider and method XInterface::queryInt...
Definition: implbase5.hxx:71