19 #ifndef INCLUDED_CPPUHELPER_IMPLBASE12_HXX
20 #define INCLUDED_CPPUHELPER_IMPLBASE12_HXX
35 type_entry m_typeEntries[ 12 + 1 ];
38 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Ifc8,
typename Ifc9,
typename Ifc10,
typename Ifc11,
typename Ifc12,
typename Impl >
39 struct ImplClassData12
41 class_data* operator ()()
43 static class_data12 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 { { Ifc8::static_type }, ((sal_IntPtr)(Ifc8 *) (Impl *) 16) - 16 },
56 { { Ifc9::static_type }, ((sal_IntPtr)(Ifc9 *) (Impl *) 16) - 16 },
57 { { Ifc10::static_type }, ((sal_IntPtr)(Ifc10 *) (Impl *) 16) - 16 },
58 { { Ifc11::static_type }, ((sal_IntPtr)(Ifc11 *) (Impl *) 16) - 16 },
59 { { Ifc12::static_type }, ((sal_IntPtr)(Ifc12 *) (Impl *) 16) - 16 },
60 { { com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 }
63 return reinterpret_cast< class_data *
>(&s_cd);
77 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
79 :
public com::sun::star::lang::XTypeProvider
80 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
82 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, ImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
85 {
return ImplHelper_query( rType, cd::get(),
this ); }
87 {
return ImplHelper_getTypes( cd::get() ); }
89 {
return ImplHelper_getImplementationId( cd::get() ); }
91 #if !defined _MSC_VER // public -> protected changes mangled names there
104 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
107 ,
public com::sun::star::lang::XTypeProvider
108 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
110 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
113 {
return WeakImplHelper_query( rType, cd::get(),
this, (
OWeakObject *)
this ); }
119 {
return WeakImplHelper_getTypes( cd::get() ); }
121 {
return ImplHelper_getImplementationId( cd::get() ); }
136 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
139 ,
public com::sun::star::lang::XTypeProvider
140 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
142 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, WeakAggImplHelper12<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
147 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, (
OWeakAggObject *)
this ); }
153 {
return WeakAggImplHelper_getTypes( cd::get() ); }
155 {
return ImplHelper_getImplementationId( cd::get() ); }
173 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
176 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
178 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, ImplInheritanceHelper12<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
180 template<
typename T1 >
182 template<
typename T1,
typename T2 >
184 BaseClass(arg1, arg2) {}
185 template<
typename T1,
typename T2,
typename T3 >
187 T1
const & arg1, T2
const & arg2, T3
const & arg3):
188 BaseClass(arg1, arg2, arg3) {}
189 template<
typename T1,
typename T2,
typename T3,
typename T4 >
191 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
192 BaseClass(arg1, arg2, arg3, arg4) {}
194 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
196 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
198 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
200 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
203 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
204 T5
const & arg5, T6
const & arg6):
205 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
216 { BaseClass::acquire(); }
218 { BaseClass::release(); }
220 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
222 {
return ImplHelper_getImplementationId( cd::get() ); }
241 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8,
class Ifc9,
class Ifc10,
class Ifc11,
class Ifc12 >
244 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8,
public Ifc9,
public Ifc10,
public Ifc11,
public Ifc12
246 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData12< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12, AggImplInheritanceHelper12<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, Ifc9, Ifc10, Ifc11, Ifc12> > > {};
248 template<
typename T1 >
250 template<
typename T1,
typename T2 >
252 BaseClass(arg1, arg2) {}
253 template<
typename T1,
typename T2,
typename T3 >
255 T1
const & arg1, T2
const & arg2, T3
const & arg3):
256 BaseClass(arg1, arg2, arg3) {}
257 template<
typename T1,
typename T2,
typename T3,
typename T4 >
259 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
260 BaseClass(arg1, arg2, arg3, arg4) {}
262 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
264 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
266 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
268 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
271 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
272 T5
const & arg5, T6
const & arg6):
273 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
283 return BaseClass::queryAggregation( rType );
286 { BaseClass::acquire(); }
288 { BaseClass::release(); }
290 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
292 {
return ImplHelper_getImplementationId( cd::get() ); }
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId()
Definition: implbase12.hxx:154
virtual void acquire()
increasing m_refCount
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId()
Definition: implbase12.hxx:88
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId()
Definition: implbase12.hxx:120
virtual void release()
If a delegator is set, then the delegators gets released.
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:542
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes()
Definition: implbase12.hxx:152
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes()
Definition: implbase12.hxx:118
AggImplInheritanceHelper12(T1 const &arg1)
Definition: implbase12.hxx:249
C++ class representing an IDL meta type.
Definition: Type.h:55
ImplInheritanceHelper12(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase12.hxx:195
Base class to implement an UNO object supporting weak references, i.e.
Definition: weakagg.hxx:40
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
ImplInheritanceHelper12(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase12.hxx:202
AggImplInheritanceHelper12(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase12.hxx:270
AggImplInheritanceHelper12()
Definition: implbase12.hxx:275
ImplInheritanceHelper12(T1 const &arg1, T2 const &arg2)
Definition: implbase12.hxx:183
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId()
Definition: implbase12.hxx:291
virtual void release()
If a delegator is set, then the delegators gets released.
Definition: implbase12.hxx:150
virtual com::sun::star::uno::Any queryAggregation(com::sun::star::uno::Type const &rType)
Definition: implbase12.hxx:146
#define SAL_NO_VTABLE
Use this for pure virtual classes, e.g.
Definition: types.h:315
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star:...
Definition: implbase12.hxx:242
virtual void release()
Definition: implbase12.hxx:217
virtual void release()
decreasing m_refCount
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType)
Definition: implbase12.hxx:276
virtual void acquire()
Definition: implbase12.hxx:285
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType)
Definition: implbase12.hxx:112
virtual ::com::sun::star::uno::Any queryInterface(const ::com::sun::star::uno::Type &rType)
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()
Definition: implbase12.hxx:86
ImplInheritanceHelper12(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase12.hxx:186
~ImplHelper12()
Definition: implbase12.hxx:94
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star:...
Definition: implbase12.hxx:174
virtual void acquire()
increasing m_refCount
Definition: implbase12.hxx:114
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes()
Definition: implbase12.hxx:289
virtual void acquire()
If a delegator is set, then the delegators gets acquired.
Definition: implbase12.hxx:148
C++ class representing an IDL any.
Definition: Any.h:46
virtual void release()
decreasing m_refCount
Definition: implbase12.hxx:116
ImplInheritanceHelper12(T1 const &arg1)
Definition: implbase12.hxx:181
AggImplInheritanceHelper12(T1 const &arg1, T2 const &arg2)
Definition: implbase12.hxx:251
unsigned char sal_Bool
Definition: types.h:46
sal_Bool hasValue() const
Tests if any contains a value.
Definition: Any.h:150
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType)
Definition: implbase12.hxx:144
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType)
Definition: implbase12.hxx:208
virtual void acquire()
Definition: implbase12.hxx:215
ImplInheritanceHelper12(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase12.hxx:190
virtual void acquire()
If a delegator is set, then the delegators gets acquired.
Base class to implement an UNO object supporting weak references, i.e.
Definition: weak.hxx:43
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId()
Definition: implbase12.hxx:221
#define sal_False
Definition: types.h:47
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType)
Definition: implbase12.hxx:84
AggImplInheritanceHelper12(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase12.hxx:263
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star:...
Definition: implbase12.hxx:105
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star:...
Definition: implbase12.hxx:137
virtual void release()
Definition: implbase12.hxx:287
signed char sal_Int8
Definition: types.h:51
Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterfac...
Definition: implbase12.hxx:78
AggImplInheritanceHelper12(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase12.hxx:258
AggImplInheritanceHelper12(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase12.hxx:254
Template C++ class representing an IDL sequence.
Definition: unotype.hxx:33
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes()
Definition: implbase12.hxx:219
virtual com::sun::star::uno::Any queryAggregation(com::sun::star::uno::Type const &rType)
Definition: implbase12.hxx:278
ImplInheritanceHelper12()
Definition: implbase12.hxx:207