LCOV - code coverage report
Current view: top level - sheet - DataPilotFieldGroupInfo.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 9 9 100.0 %
Date: 2013-07-09 Functions: 3 3 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_SHEET_DATAPILOTFIELDGROUPINFO_HPP
       2             : #define INCLUDED_COM_SUN_STAR_SHEET_DATAPILOTFIELDGROUPINFO_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/sheet/DataPilotFieldGroupInfo.hdl"
       7             : 
       8             : #include "com/sun/star/container/XNameAccess.hpp"
       9             : #include "com/sun/star/sheet/XDataPilotField.hpp"
      10             : #include "com/sun/star/uno/Reference.hxx"
      11             : #include "com/sun/star/uno/Type.hxx"
      12             : #include "cppu/unotype.hxx"
      13             : #include "sal/types.h"
      14             : #include "typelib/typeclass.h"
      15             : #include "typelib/typedescription.h"
      16             : 
      17             : namespace com { namespace sun { namespace star { namespace sheet {
      18             : 
      19           3 : inline DataPilotFieldGroupInfo::DataPilotFieldGroupInfo() SAL_THROW(())
      20             :     : HasAutoStart(false)
      21             :     , HasAutoEnd(false)
      22             :     , HasDateValues(false)
      23             :     , Start(0)
      24             :     , End(0)
      25             :     , Step(0)
      26             :     , GroupBy(0)
      27             :     , SourceField()
      28           3 :     , Groups()
      29             : {
      30           3 : }
      31             : 
      32             : inline DataPilotFieldGroupInfo::DataPilotFieldGroupInfo(const ::sal_Bool& HasAutoStart_, const ::sal_Bool& HasAutoEnd_, const ::sal_Bool& HasDateValues_, const double& Start_, const double& End_, const double& Step_, const ::sal_Int32& GroupBy_, const ::com::sun::star::uno::Reference< css::sheet::XDataPilotField >& SourceField_, const ::com::sun::star::uno::Reference< css::container::XNameAccess >& Groups_) SAL_THROW(())
      33             :     : HasAutoStart(HasAutoStart_)
      34             :     , HasAutoEnd(HasAutoEnd_)
      35             :     , HasDateValues(HasDateValues_)
      36             :     , Start(Start_)
      37             :     , End(End_)
      38             :     , Step(Step_)
      39             :     , GroupBy(GroupBy_)
      40             :     , SourceField(SourceField_)
      41             :     , Groups(Groups_)
      42             : {
      43             : }
      44             : 
      45             : } } } }
      46             : 
      47             : namespace com { namespace sun { namespace star { namespace sheet {
      48             : 
      49           7 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::sheet::DataPilotFieldGroupInfo const *) {
      50             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      51             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      52           7 :     if (the_type == 0) {
      53           4 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.sheet.DataPilotFieldGroupInfo");
      54             :     }
      55           7 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      56             : }
      57             : 
      58             : } } } }
      59             : 
      60           4 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::sheet::DataPilotFieldGroupInfo const *) SAL_THROW(()) {
      61           4 :     return ::cppu::UnoType< css::sheet::DataPilotFieldGroupInfo >::get();
      62             : }
      63             : 
      64             : #endif // INCLUDED_COM_SUN_STAR_SHEET_DATAPILOTFIELDGROUPINFO_HPP

Generated by: LCOV version 1.10