Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting from a BaseClass.
More...
Classes |
struct | cd |
Public Member Functions |
| AggImplInheritanceHelper2 () |
virtual com::sun::star::uno::Any | queryInterface (com::sun::star::uno::Type const &rType) throw (com::sun::star::uno::RuntimeException) |
virtual com::sun::star::uno::Any | queryAggregation (com::sun::star::uno::Type const &rType) throw (com::sun::star::uno::RuntimeException) |
virtual void | acquire () throw () |
virtual void | release () throw () |
virtual
com::sun::star::uno::Sequence
< com::sun::star::uno::Type > | getTypes () throw (com::sun::star::uno::RuntimeException) |
virtual
com::sun::star::uno::Sequence
< sal_Int8 > | getImplementationId () throw (com::sun::star::uno::RuntimeException) |
Protected Member Functions |
template<typename T1 > |
| AggImplInheritanceHelper2 (T1 const &arg1) |
template<typename T1 , typename T2 > |
| AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2) |
template<typename T1 , typename T2 , typename T3 > |
| AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3) |
template<typename T1 , typename T2 , typename T3 , typename T4 > |
| AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4) |
template<typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > |
| AggImplInheritanceHelper2 (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 > |
| AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6) |
template<class BaseClass, class Ifc1, class Ifc2>
class cppu::AggImplInheritanceHelper2< BaseClass, Ifc1, Ifc2 >
Implementation helper implementing interfaces com::sun::star::lang::XTypeProvider and com::sun::star::uno::XInterface inherting 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 com::sun::star::uno::XInterface, com::sun::star::uno::XAggregation and com::sun::star::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.
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).