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

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

#include <implbase1.hxx>

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

Classes

struct  cd
 

Public Member Functions

 AggImplInheritanceHelper1 ()
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_OVERRIDE throw ()
 
virtual void SAL_CALL release () SAL_OVERRIDE throw ()
 
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 >
 AggImplInheritanceHelper1 (T1 const &arg1)
 
template<typename T1 , typename T2 >
 AggImplInheritanceHelper1 (T1 const &arg1, T2 const &arg2)
 
template<typename T1 , typename T2 , typename T3 >
 AggImplInheritanceHelper1 (T1 const &arg1, T2 const &arg2, T3 const &arg3)
 
template<typename T1 , typename T2 , typename T3 , typename T4 >
 AggImplInheritanceHelper1 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
 
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 >
 AggImplInheritanceHelper1 (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 >
 AggImplInheritanceHelper1 (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 cppu::AggImplInheritanceHelper1< BaseClass, Ifc1 >

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

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

Attention:

The BaseClass has to be complete in a sense, that css::uno::XInterface, css::uno::XAggregation 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:

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 251 of file implbase1.hxx.

Constructor & Destructor Documentation

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

Definition at line 258 of file implbase1.hxx.

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

Definition at line 260 of file implbase1.hxx.

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

Definition at line 263 of file implbase1.hxx.

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

Definition at line 267 of file implbase1.hxx.

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

Definition at line 272 of file implbase1.hxx.

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

Definition at line 279 of file implbase1.hxx.

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

Definition at line 284 of file implbase1.hxx.

Member Function Documentation

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

Definition at line 294 of file implbase1.hxx.

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

Definition at line 300 of file implbase1.hxx.

References cppu::ImplHelper_getImplementationId().

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

Definition at line 298 of file implbase1.hxx.

References cppu::ImplInhHelper_getTypes().

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

Definition at line 287 of file implbase1.hxx.

References cppu::ImplHelper_queryNoXInterface().

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

Definition at line 285 of file implbase1.hxx.

References cppu::queryInterface().

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

Definition at line 296 of file implbase1.hxx.


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