LCOV - code coverage report
Current view: top level - deployment - DependencyException.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 11 0.0 %
Date: 2013-07-09 Functions: 0 4 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_DEPLOYMENT_DEPENDENCYEXCEPTION_HPP
       2             : #define INCLUDED_COM_SUN_STAR_DEPLOYMENT_DEPENDENCYEXCEPTION_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/deployment/DependencyException.hdl"
       7             : 
       8             : #include "com/sun/star/uno/Exception.hpp"
       9             : #include "com/sun/star/xml/dom/XElement.hpp"
      10             : #include "com/sun/star/uno/Reference.hxx"
      11             : #include "com/sun/star/uno/Sequence.hxx"
      12             : #include "com/sun/star/uno/Type.hxx"
      13             : #include "cppu/unotype.hxx"
      14             : #include "osl/mutex.hxx"
      15             : #include "rtl/instance.hxx"
      16             : 
      17             : namespace com { namespace sun { namespace star { namespace deployment {
      18             : 
      19           0 : inline DependencyException::DependencyException() SAL_THROW(())
      20             :     : css::uno::Exception()
      21           0 :     , UnsatisfiedDependencies()
      22           0 : { }
      23             : 
      24           0 : inline DependencyException::DependencyException(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< css::uno::XInterface >& Context_, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::xml::dom::XElement > >& UnsatisfiedDependencies_) SAL_THROW(())
      25             :     : css::uno::Exception(Message_, Context_)
      26           0 :     , UnsatisfiedDependencies(UnsatisfiedDependencies_)
      27           0 : { }
      28             : 
      29             : DependencyException::DependencyException(DependencyException const & the_other): css::uno::Exception(the_other), UnsatisfiedDependencies(the_other.UnsatisfiedDependencies) {}
      30             : 
      31           0 : DependencyException::~DependencyException() {}
      32             : 
      33             : DependencyException & DependencyException::operator =(DependencyException const & the_other) {
      34             :     //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
      35             :     css::uno::Exception::operator =(the_other);
      36             :     UnsatisfiedDependencies = the_other.UnsatisfiedDependencies;
      37             :     return *this;
      38             : }
      39             : 
      40             : } } } }
      41             : 
      42             : namespace com { namespace sun { namespace star { namespace deployment {
      43             : 
      44           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::deployment::DependencyException const *) {
      45             :     static typelib_TypeDescriptionReference * the_type = 0;
      46           0 :     if ( !the_type )
      47             :     {
      48           0 :         typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.deployment.DependencyException" );
      49             :     }
      50           0 :     return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
      51             : }
      52             : 
      53             : } } } }
      54             : 
      55             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::deployment::DependencyException const *) SAL_THROW(()) {
      56             :     return ::cppu::UnoType< css::deployment::DependencyException >::get();
      57             : }
      58             : 
      59             : #endif // INCLUDED_COM_SUN_STAR_DEPLOYMENT_DEPENDENCYEXCEPTION_HPP

Generated by: LCOV version 1.10