LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/util - URL.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 3 7 42.9 %
Date: 2012-12-27 Functions: 1 2 50.0 %
Legend: Lines: hit not hit

          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       10299 : 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       10299 :     , Mark()
      29             : {
      30       10299 : }
      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           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::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           0 :     if (the_type == 0) {
      55           0 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.util.URL");
      56             :     }
      57           0 :     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 css::util::URL const *) SAL_THROW(()) {
      63             :     return ::cppu::UnoType< css::util::URL >::get();
      64             : }
      65             : 
      66             : #endif // INCLUDED_COM_SUN_STAR_UTIL_URL_HPP

Generated by: LCOV version 1.10