19 #ifndef INCLUDED_CPPUHELPER_IMPLBASE7_HXX
20 #define INCLUDED_CPPUHELPER_IMPLBASE7_HXX
35 type_entry m_typeEntries[ 7 + 1 ];
38 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Impl >
41 class_data* operator ()()
43 static class_data7 s_cd =
46 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
48 { { Ifc1::static_type }, ((sal_IntPtr)(Ifc1 *) (Impl *) 16) - 16 },
49 { { Ifc2::static_type }, ((sal_IntPtr)(Ifc2 *) (Impl *) 16) - 16 },
50 { { Ifc3::static_type }, ((sal_IntPtr)(Ifc3 *) (Impl *) 16) - 16 },
51 { { Ifc4::static_type }, ((sal_IntPtr)(Ifc4 *) (Impl *) 16) - 16 },
52 { { Ifc5::static_type }, ((sal_IntPtr)(Ifc5 *) (Impl *) 16) - 16 },
53 { { Ifc6::static_type }, ((sal_IntPtr)(Ifc6 *) (Impl *) 16) - 16 },
54 { { Ifc7::static_type }, ((sal_IntPtr)(Ifc7 *) (Impl *) 16) - 16 },
55 { { com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 }
58 return reinterpret_cast< class_data *
>(&s_cd);
72 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
74 :
public com::sun::star::lang::XTypeProvider
75 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
77 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, ImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
80 {
return ImplHelper_query( rType, cd::get(),
this ); }
82 {
return ImplHelper_getTypes( cd::get() ); }
84 {
return ImplHelper_getImplementationId( cd::get() ); }
86 #if !defined _MSC_VER // public -> protected changes mangled names there
99 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
102 ,
public com::sun::star::lang::XTypeProvider
103 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
105 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
108 {
return WeakImplHelper_query( rType, cd::get(),
this, (
OWeakObject *)
this ); }
114 {
return WeakImplHelper_getTypes( cd::get() ); }
116 {
return ImplHelper_getImplementationId( cd::get() ); }
131 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
134 ,
public com::sun::star::lang::XTypeProvider
135 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
137 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, WeakAggImplHelper7<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
142 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, (
OWeakAggObject *)
this ); }
148 {
return WeakAggImplHelper_getTypes( cd::get() ); }
150 {
return ImplHelper_getImplementationId( cd::get() ); }
168 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
171 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
173 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, ImplInheritanceHelper7<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
175 template<
typename T1 >
177 template<
typename T1,
typename T2 >
179 BaseClass(arg1, arg2) {}
180 template<
typename T1,
typename T2,
typename T3 >
182 T1
const & arg1, T2
const & arg2, T3
const & arg3):
183 BaseClass(arg1, arg2, arg3) {}
184 template<
typename T1,
typename T2,
typename T3,
typename T4 >
186 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
187 BaseClass(arg1, arg2, arg3, arg4) {}
189 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
191 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
193 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
195 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
198 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
199 T5
const & arg5, T6
const & arg6):
200 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
211 { BaseClass::acquire(); }
213 { BaseClass::release(); }
215 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
217 {
return ImplHelper_getImplementationId( cd::get() ); }
236 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7 >
239 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7
241 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData7< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, AggImplInheritanceHelper7<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7> > > {};
243 template<
typename T1 >
245 template<
typename T1,
typename T2 >
247 BaseClass(arg1, arg2) {}
248 template<
typename T1,
typename T2,
typename T3 >
250 T1
const & arg1, T2
const & arg2, T3
const & arg3):
251 BaseClass(arg1, arg2, arg3) {}
252 template<
typename T1,
typename T2,
typename T3,
typename T4 >
254 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
255 BaseClass(arg1, arg2, arg3, arg4) {}
257 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
259 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
261 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
263 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
266 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
267 T5
const & arg5, T6
const & arg6):
268 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
278 return BaseClass::queryAggregation( rType );
281 { BaseClass::acquire(); }
283 { BaseClass::release(); }
285 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
287 {
return ImplHelper_getImplementationId( cd::get() ); }
ImplInheritanceHelper7(T1 const &arg1, T2 const &arg2)
Definition: implbase7.hxx:178
inline::com::sun::star::uno::Any queryInterface(const ::com::sun::star::uno::Type &rType, Interface1 *p1)
Compares demanded type to given template argument types.
Definition: queryinterface.hxx:39
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase7.hxx:216
AggImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase7.hxx:265
Base class to implement an UNO object supporting weak references, i.e.
Definition: weakagg.hxx:40
AggImplInheritanceHelper7()
Definition: implbase7.hxx:270
virtual void release() SAL_OVERRIDE
decreasing m_refCount
Definition: implbase7.hxx:111
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Definition: implbase7.hxx:145
unsigned char sal_Bool
Definition: types.h:46
ImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase7.hxx:185
C++ class representing an IDL meta type.
Definition: Type.h:55
bool hasValue() const SAL_THROW(())
Tests if any contains a value.
Definition: Any.h:150
#define sal_False
Definition: types.h:47
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star:...
Definition: implbase7.hxx:169
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase7.hxx:115
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase7.hxx:203
Template C++ class representing an IDL sequence.
Definition: unotype.hxx:33
AggImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase7.hxx:258
ImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase7.hxx:190
AggImplInheritanceHelper7(T1 const &arg1)
Definition: implbase7.hxx:244
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase7.hxx:83
AggImplInheritanceHelper7(T1 const &arg1, T2 const &arg2)
Definition: implbase7.hxx:246
virtual ::com::sun::star::uno::Any queryInterface(const ::com::sun::star::uno::Type &rType) SAL_OVERRIDE
If a delegator is set, then the delegator is queried for the demanded interface.
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase7.hxx:147
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:423
virtual void release() SAL_OVERRIDE
Definition: implbase7.hxx:282
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase7.hxx:139
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
signed char sal_Int8
Definition: types.h:51
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase7.hxx:79
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase7.hxx:286
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star:...
Definition: implbase7.hxx:100
~ImplHelper7()
Definition: implbase7.hxx:89
ImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase7.hxx:197
ImplInheritanceHelper7()
Definition: implbase7.hxx:202
ImplInheritanceHelper7(T1 const &arg1)
Definition: implbase7.hxx:176
Definition: Enterable.hxx:26
virtual void acquire() SAL_OVERRIDE
Definition: implbase7.hxx:280
C++ class representing an IDL any.
Definition: Any.h:46
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase7.hxx:284
virtual void release() SAL_OVERRIDE
Definition: implbase7.hxx:212
virtual com::sun::star::uno::Any queryAggregation(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase7.hxx:273
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:317
AggImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase7.hxx:253
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:43
virtual void acquire() SAL_OVERRIDE
Definition: implbase7.hxx:210
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star:...
Definition: implbase7.hxx:237
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
Definition: implbase7.hxx:109
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase7.hxx:214
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase7.hxx:81
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star:...
Definition: implbase7.hxx:132
Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterfac...
Definition: implbase7.hxx:73
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Definition: implbase7.hxx:143
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase7.hxx:271
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase7.hxx:113
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase7.hxx:107
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:542
AggImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase7.hxx:249
virtual void release() SAL_OVERRIDE
decreasing m_refCount
ImplInheritanceHelper7(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase7.hxx:181
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase7.hxx:149
virtual com::sun::star::uno::Any queryAggregation(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase7.hxx:141
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.