LibreOffice Module cppuhelper (master) 1
Classes | Public Member Functions | Protected Member Functions | List of all members
cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 > Class Template Reference

Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inheriting from a BaseClass. More...

#include <implbase2.hxx>

Inheritance diagram for cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >:
[legend]
Collaboration diagram for cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >:
[legend]

Classes

struct  cd
 

Public Member Functions

 ImplInheritanceHelper2 ()
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 

Protected Member Functions

template<typename T1 >
 ImplInheritanceHelper2 (T1 const &arg1)
 
template<typename T1 , typename T2 >
 ImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2)
 
template<typename T1 , typename T2 , typename T3 >
 ImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
 ImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
 ImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
 ImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
 

Detailed Description

template<class BaseClass, class Ifc1, class Ifc2>
class cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >

Implementation helper implementing interfaces css::lang::XTypeProvider and css::uno::XInterface inheriting from a BaseClass.

All acquire() and release() calls are delegated to the BaseClass. Upon queryInterface(), if a demanded interface is not supported by this class directly, the request is delegated to the BaseClass.

Attention: \n
The BaseClass has to be complete in a sense, that css::uno::XInterface and css::lang::XTypeProvider are implemented properly. The BaseClass must have at least one ctor that can be called with six or fewer arguments, of which none is of non-const reference type.
Derive: \n
Inherit from this class giving your additional interface(s) to be implemented as template argument(s). Your sub class defines method implementations for these interface(s).

Definition at line 178 of file implbase2.hxx.

Constructor & Destructor Documentation

◆ ImplInheritanceHelper2() [1/7]

template<class BaseClass , class Ifc1 , class Ifc2 >
template<typename T1 >
cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >::ImplInheritanceHelper2 ( T1 const &  arg1)
inlineexplicitprotected

Definition at line 185 of file implbase2.hxx.

◆ ImplInheritanceHelper2() [2/7]

template<class BaseClass , class Ifc1 , class Ifc2 >
template<typename T1 , typename T2 >
cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >::ImplInheritanceHelper2 ( T1 const &  arg1,
T2 const &  arg2 
)
inlineprotected

Definition at line 187 of file implbase2.hxx.

◆ ImplInheritanceHelper2() [3/7]

template<class BaseClass , class Ifc1 , class Ifc2 >
template<typename T1 , typename T2 , typename T3 >
cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >::ImplInheritanceHelper2 ( T1 const &  arg1,
T2 const &  arg2,
T3 const &  arg3 
)
inlineprotected

Definition at line 190 of file implbase2.hxx.

◆ ImplInheritanceHelper2() [4/7]

template<class BaseClass , class Ifc1 , class Ifc2 >
template<typename T1 , typename T2 , typename T3 , typename T4 >
cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >::ImplInheritanceHelper2 ( T1 const &  arg1,
T2 const &  arg2,
T3 const &  arg3,
T4 const &  arg4 
)
inlineprotected

Definition at line 194 of file implbase2.hxx.

◆ ImplInheritanceHelper2() [5/7]

template<class BaseClass , class Ifc1 , class Ifc2 >
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >::ImplInheritanceHelper2 ( T1 const &  arg1,
T2 const &  arg2,
T3 const &  arg3,
T4 const &  arg4,
T5 const &  arg5 
)
inlineprotected

Definition at line 199 of file implbase2.hxx.

◆ ImplInheritanceHelper2() [6/7]

template<class BaseClass , class Ifc1 , class Ifc2 >
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 >
cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >::ImplInheritanceHelper2 ( T1 const &  arg1,
T2 const &  arg2,
T3 const &  arg3,
T4 const &  arg4,
T5 const &  arg5,
T6 const &  arg6 
)
inlineprotected

Definition at line 206 of file implbase2.hxx.

◆ ImplInheritanceHelper2() [7/7]

template<class BaseClass , class Ifc1 , class Ifc2 >
cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >::ImplInheritanceHelper2 ( )
inline

Definition at line 211 of file implbase2.hxx.

Member Function Documentation

◆ acquire()

template<class BaseClass , class Ifc1 , class Ifc2 >
virtual void SAL_CALL cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >::acquire ( )
inlinevirtual

Definition at line 219 of file implbase2.hxx.

◆ getImplementationId()

template<class BaseClass , class Ifc1 , class Ifc2 >
virtual css::uno::Sequence< sal_Int8 > SAL_CALL cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >::getImplementationId ( )
inlinevirtual

Definition at line 225 of file implbase2.hxx.

References cppu::ImplHelper_getImplementationId().

◆ getTypes()

template<class BaseClass , class Ifc1 , class Ifc2 >
virtual css::uno::Sequence< css::uno::Type > SAL_CALL cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >::getTypes ( )
inlinevirtual

Definition at line 223 of file implbase2.hxx.

References cppu::ImplInhHelper_getTypes().

◆ queryInterface()

template<class BaseClass , class Ifc1 , class Ifc2 >
virtual css::uno::Any SAL_CALL cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >::queryInterface ( css::uno::Type const &  rType)
inlinevirtual

Definition at line 212 of file implbase2.hxx.

References cppu::ImplHelper_queryNoXInterface(), and cppu::queryInterface().

◆ release()

template<class BaseClass , class Ifc1 , class Ifc2 >
virtual void SAL_CALL cppu::ImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >::release ( )
inlinevirtual

Definition at line 221 of file implbase2.hxx.


The documentation for this class was generated from the following file: