LCOV - code coverage report
Current view: top level - solver/unxlngi6.pro/inc/offapi/com/sun/star/util - URL.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 7 7 100.0 %
Date: 2012-08-25 Functions: 2 2 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 1 2 50.0 %

           Branch data     Line data    Source code
       1                 :            : #ifndef INCLUDED_COM_SUN_STAR_UTIL_URL_HPP
       2                 :            : #define INCLUDED_COM_SUN_STAR_UTIL_URL_HPP
       3                 :            : 
       4                 :            : #include "sal/config.h"
       5                 :            : 
       6                 :            : #include "com/sun/star/util/URL.hdl"
       7                 :            : 
       8                 :            : #include "com/sun/star/uno/Type.hxx"
       9                 :            : #include "cppu/unotype.hxx"
      10                 :            : #include "rtl/ustring.hxx"
      11                 :            : #include "sal/types.h"
      12                 :            : #include "typelib/typeclass.h"
      13                 :            : #include "typelib/typedescription.h"
      14                 :            : 
      15                 :            : namespace com { namespace sun { namespace star { namespace util {
      16                 :            : 
      17                 :     824645 : inline URL::URL() SAL_THROW(())
      18                 :            :     : Complete()
      19                 :            :     , Main()
      20                 :            :     , Protocol()
      21                 :            :     , User()
      22                 :            :     , Password()
      23                 :            :     , Server()
      24                 :            :     , Port(0)
      25                 :            :     , Path()
      26                 :            :     , Name()
      27                 :            :     , Arguments()
      28                 :     824645 :     , Mark()
      29                 :            : {
      30                 :     824645 : }
      31                 :            : 
      32                 :            : inline URL::URL(const ::rtl::OUString& Complete_, const ::rtl::OUString& Main_, const ::rtl::OUString& Protocol_, const ::rtl::OUString& User_, const ::rtl::OUString& Password_, const ::rtl::OUString& Server_, const ::sal_Int16& Port_, const ::rtl::OUString& Path_, const ::rtl::OUString& Name_, const ::rtl::OUString& Arguments_, const ::rtl::OUString& Mark_) SAL_THROW(())
      33                 :            :     : Complete(Complete_)
      34                 :            :     , Main(Main_)
      35                 :            :     , Protocol(Protocol_)
      36                 :            :     , User(User_)
      37                 :            :     , Password(Password_)
      38                 :            :     , Server(Server_)
      39                 :            :     , Port(Port_)
      40                 :            :     , Path(Path_)
      41                 :            :     , Name(Name_)
      42                 :            :     , Arguments(Arguments_)
      43                 :            :     , Mark(Mark_)
      44                 :            : {
      45                 :            : }
      46                 :            : 
      47                 :            : } } } }
      48                 :            : 
      49                 :            : namespace com { namespace sun { namespace star { namespace util {
      50                 :            : 
      51                 :          4 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::util::URL const *) {
      52                 :            :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      53                 :            :     static ::typelib_TypeDescriptionReference * the_type = 0;
      54         [ +  - ]:          4 :     if (the_type == 0) {
      55                 :          4 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.util.URL");
      56                 :            :     }
      57                 :          4 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      58                 :            : }
      59                 :            : 
      60                 :            : } } } }
      61                 :            : 
      62                 :            : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::util::URL const *) SAL_THROW(()) {
      63                 :            :     return ::cppu::UnoType< ::com::sun::star::util::URL >::get();
      64                 :            : }
      65                 :            : 
      66                 :            : #endif // INCLUDED_COM_SUN_STAR_UTIL_URL_HPP

Generated by: LCOV version 1.10