(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4
 Overview   Namespace   Class   Index   Help 
PUBLIC MEMBERS:  CLASSESSTRUCTSUNIONSENUMSTYPEDEFSMETHODSSTATIC METHODSDATASTATIC DATA

:: cppu ::

template< typename BaseClass, typename Ifc1 >

class ImplInheritanceHelper1


Base Classes
BaseClass (public)
  |  
  |  Ifc1 (public)
  |    |  
  +----+--ImplInheritanceHelper1
Known Derived Classes
None.

virtual abstract interface template
YES NO NO YES
Description
Implementation helper implementing interfaces ::com::sun::star::lang::XTypeProvider and ::com::sun::star::uno::XInterface inherting 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!
The BaseClass has to be complete in a sense, that ::com::sun::star::uno::XInterface and ::com::sun::star::lang::XTypeProvider are implemented properly. The BaseClass also has to have a default ctor.
How to Derive from this Class
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).
File
implbase1.hxx

Public Members

Methods

virtual ::com::sun::star::uno::Any
queryInterface( const ::com::sun::star::uno::Type & 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 );

Top of Page

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.