19 #ifndef INCLUDED_CPPUHELPER_IMPLBASE8_HXX
20 #define INCLUDED_CPPUHELPER_IMPLBASE8_HXX
35 type_entry m_typeEntries[ 8 + 1 ];
38 template<
typename Ifc1,
typename Ifc2,
typename Ifc3,
typename Ifc4,
typename Ifc5,
typename Ifc6,
typename Ifc7,
typename Ifc8,
typename Impl >
41 class_data* operator ()()
43 static class_data8 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 { { com::sun::star::lang::XTypeProvider::static_type }, ((sal_IntPtr)(com::sun::star::lang::XTypeProvider *) (Impl *) 16) - 16 }
59 return reinterpret_cast< class_data *
>(&s_cd);
73 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8 >
75 :
public com::sun::star::lang::XTypeProvider
76 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
78 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, ImplHelper8<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
81 {
return ImplHelper_query( rType, cd::get(),
this ); }
83 {
return ImplHelper_getTypes( cd::get() ); }
85 {
return ImplHelper_getImplementationId( cd::get() ); }
87 #if !defined _MSC_VER // public -> protected changes mangled names there
100 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8 >
103 ,
public com::sun::star::lang::XTypeProvider
104 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
106 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, WeakImplHelper8<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
109 {
return WeakImplHelper_query( rType, cd::get(),
this, (
OWeakObject *)
this ); }
115 {
return WeakImplHelper_getTypes( cd::get() ); }
117 {
return ImplHelper_getImplementationId( cd::get() ); }
132 template<
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8 >
135 ,
public com::sun::star::lang::XTypeProvider
136 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
138 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, WeakAggImplHelper8<Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
143 {
return WeakAggImplHelper_queryAgg( rType, cd::get(),
this, (
OWeakAggObject *)
this ); }
149 {
return WeakAggImplHelper_getTypes( cd::get() ); }
151 {
return ImplHelper_getImplementationId( cd::get() ); }
169 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8 >
172 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
174 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, ImplInheritanceHelper8<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
176 template<
typename T1 >
178 template<
typename T1,
typename T2 >
180 BaseClass(arg1, arg2) {}
181 template<
typename T1,
typename T2,
typename T3 >
183 T1
const & arg1, T2
const & arg2, T3
const & arg3):
184 BaseClass(arg1, arg2, arg3) {}
185 template<
typename T1,
typename T2,
typename T3,
typename T4 >
187 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
188 BaseClass(arg1, arg2, arg3, arg4) {}
190 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
192 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
194 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
196 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
199 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
200 T5
const & arg5, T6
const & arg6):
201 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
212 { BaseClass::acquire(); }
214 { BaseClass::release(); }
216 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
218 {
return ImplHelper_getImplementationId( cd::get() ); }
237 template<
class BaseClass,
class Ifc1,
class Ifc2,
class Ifc3,
class Ifc4,
class Ifc5,
class Ifc6,
class Ifc7,
class Ifc8 >
240 ,
public Ifc1,
public Ifc2,
public Ifc3,
public Ifc4,
public Ifc5,
public Ifc6,
public Ifc7,
public Ifc8
242 struct cd :
public rtl::StaticAggregate< class_data, ImplClassData8< Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8, AggImplInheritanceHelper8<BaseClass, Ifc1, Ifc2, Ifc3, Ifc4, Ifc5, Ifc6, Ifc7, Ifc8> > > {};
244 template<
typename T1 >
246 template<
typename T1,
typename T2 >
248 BaseClass(arg1, arg2) {}
249 template<
typename T1,
typename T2,
typename T3 >
251 T1
const & arg1, T2
const & arg2, T3
const & arg3):
252 BaseClass(arg1, arg2, arg3) {}
253 template<
typename T1,
typename T2,
typename T3,
typename T4 >
255 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4):
256 BaseClass(arg1, arg2, arg3, arg4) {}
258 typename T1,
typename T2,
typename T3,
typename T4,
typename T5 >
260 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
262 BaseClass(arg1, arg2, arg3, arg4, arg5) {}
264 typename T1,
typename T2,
typename T3,
typename T4,
typename T5,
267 T1
const & arg1, T2
const & arg2, T3
const & arg3, T4
const & arg4,
268 T5
const & arg5, T6
const & arg6):
269 BaseClass(arg1, arg2, arg3, arg4, arg5, arg6) {}
279 return BaseClass::queryAggregation( rType );
282 { BaseClass::acquire(); }
284 { BaseClass::release(); }
286 {
return ImplInhHelper_getTypes( cd::get(), BaseClass::getTypes() ); }
288 {
return ImplHelper_getImplementationId( cd::get() ); }
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
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star:...
Definition: implbase8.hxx:170
AggImplInheritanceHelper8(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase8.hxx:250
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase8.hxx:116
virtual com::sun::star::uno::Any queryAggregation(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase8.hxx:274
Base class to implement an UNO object supporting weak references, i.e.
Definition: weakagg.hxx:40
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase8.hxx:204
unsigned char sal_Bool
Definition: types.h:46
virtual void release() SAL_OVERRIDE
decreasing m_refCount
Definition: implbase8.hxx:112
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
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star:...
Definition: implbase8.hxx:101
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase8.hxx:80
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase8.hxx:148
~ImplHelper8()
Definition: implbase8.hxx:90
#define sal_False
Definition: types.h:47
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase8.hxx:150
ImplInheritanceHelper8(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase8.hxx:186
virtual void release() SAL_OVERRIDE
Definition: implbase8.hxx:283
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase8.hxx:285
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase8.hxx:140
Template C++ class representing an IDL sequence.
Definition: unotype.hxx:33
ImplInheritanceHelper8(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase8.hxx:198
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase8.hxx:82
virtual com::sun::star::uno::Any queryAggregation(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase8.hxx:142
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.
ImplInheritanceHelper8(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase8.hxx:191
Implementation helper implementing interface com::sun::star::lang::XTypeProvider and method XInterfac...
Definition: implbase8.hxx:74
AggImplInheritanceHelper8(T1 const &arg1)
Definition: implbase8.hxx:245
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
Definition: implbase8.hxx:144
#define SAL_OVERRIDE
C++11 "override" feature.
Definition: types.h:423
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase8.hxx:272
ImplInheritanceHelper8(T1 const &arg1, T2 const &arg2, T3 const &arg3)
Definition: implbase8.hxx:182
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
signed char sal_Int8
Definition: types.h:51
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase8.hxx:84
virtual void release() SAL_OVERRIDE
If a delegator is set, then the delegators gets released.
Definition: implbase8.hxx:146
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star:...
Definition: implbase8.hxx:238
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star:...
Definition: implbase8.hxx:133
Definition: Enterable.hxx:26
ImplInheritanceHelper8(T1 const &arg1, T2 const &arg2)
Definition: implbase8.hxx:179
C++ class representing an IDL any.
Definition: Any.h:46
virtual void release() SAL_OVERRIDE
Definition: implbase8.hxx:213
AggImplInheritanceHelper8()
Definition: implbase8.hxx:271
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase8.hxx:215
AggImplInheritanceHelper8(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
Definition: implbase8.hxx:259
AggImplInheritanceHelper8(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
Definition: implbase8.hxx:266
ImplInheritanceHelper8()
Definition: implbase8.hxx:203
virtual com::sun::star::uno::Sequence< sal_Int8 > getImplementationId() SAL_OVERRIDE
Definition: implbase8.hxx:217
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
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() SAL_OVERRIDE
Definition: implbase8.hxx:287
Helper class for a late-initialized static aggregate, e.g.
Definition: instance.hxx:542
ImplInheritanceHelper8(T1 const &arg1)
Definition: implbase8.hxx:177
virtual void release() SAL_OVERRIDE
decreasing m_refCount
AggImplInheritanceHelper8(T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
Definition: implbase8.hxx:254
AggImplInheritanceHelper8(T1 const &arg1, T2 const &arg2)
Definition: implbase8.hxx:247
virtual com::sun::star::uno::Any queryInterface(com::sun::star::uno::Type const &rType) SAL_OVERRIDE
Definition: implbase8.hxx:108
virtual void acquire() SAL_OVERRIDE
Definition: implbase8.hxx:211
virtual void acquire() SAL_OVERRIDE
If a delegator is set, then the delegators gets acquired.
virtual com::sun::star::uno::Sequence< com::sun::star::uno::Type > getTypes() SAL_OVERRIDE
Definition: implbase8.hxx:114
virtual void acquire() SAL_OVERRIDE
increasing m_refCount
Definition: implbase8.hxx:110
virtual void acquire() SAL_OVERRIDE
Definition: implbase8.hxx:281