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

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_CHART2_SCALEDATA_HPP
       2             : #define INCLUDED_COM_SUN_STAR_CHART2_SCALEDATA_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/chart2/ScaleData.hdl"
       7             : 
       8             : #include "com/sun/star/chart2/IncrementData.hpp"
       9             : #include "com/sun/star/chart2/data/XLabeledDataSequence.hpp"
      10             : #include "com/sun/star/chart2/AxisOrientation.hpp"
      11             : #include "com/sun/star/chart2/XScaling.hpp"
      12             : #include "com/sun/star/chart/TimeIncrement.hpp"
      13             : #include "com/sun/star/uno/Any.hxx"
      14             : #include "com/sun/star/uno/Reference.hxx"
      15             : #include "com/sun/star/uno/Type.hxx"
      16             : #include "cppu/unotype.hxx"
      17             : #include "sal/types.h"
      18             : #include "typelib/typeclass.h"
      19             : #include "typelib/typedescription.h"
      20             : 
      21             : namespace com { namespace sun { namespace star { namespace chart2 {
      22             : 
      23         488 : inline ScaleData::ScaleData() SAL_THROW(())
      24             :     : Minimum()
      25             :     , Maximum()
      26             :     , Origin()
      27             :     , Orientation(css::chart2::AxisOrientation_MATHEMATICAL)
      28             :     , Scaling()
      29             :     , Categories()
      30             :     , AxisType(0)
      31             :     , AutoDateAxis(false)
      32             :     , ShiftedCategoryPosition(false)
      33             :     , IncrementData()
      34         488 :     , TimeIncrement()
      35             : {
      36         488 : }
      37             : 
      38             : inline ScaleData::ScaleData(const ::com::sun::star::uno::Any& Minimum_, const ::com::sun::star::uno::Any& Maximum_, const ::com::sun::star::uno::Any& Origin_, const css::chart2::AxisOrientation& Orientation_, const ::com::sun::star::uno::Reference< css::chart2::XScaling >& Scaling_, const ::com::sun::star::uno::Reference< css::chart2::data::XLabeledDataSequence >& Categories_, const ::sal_Int32& AxisType_, const ::sal_Bool& AutoDateAxis_, const ::sal_Bool& ShiftedCategoryPosition_, const css::chart2::IncrementData& IncrementData_, const css::chart::TimeIncrement& TimeIncrement_) SAL_THROW(())
      39             :     : Minimum(Minimum_)
      40             :     , Maximum(Maximum_)
      41             :     , Origin(Origin_)
      42             :     , Orientation(Orientation_)
      43             :     , Scaling(Scaling_)
      44             :     , Categories(Categories_)
      45             :     , AxisType(AxisType_)
      46             :     , AutoDateAxis(AutoDateAxis_)
      47             :     , ShiftedCategoryPosition(ShiftedCategoryPosition_)
      48             :     , IncrementData(IncrementData_)
      49             :     , TimeIncrement(TimeIncrement_)
      50             : {
      51             : }
      52             : 
      53             : } } } }
      54             : 
      55             : namespace com { namespace sun { namespace star { namespace chart2 {
      56             : 
      57             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::chart2::ScaleData const *) {
      58             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      59             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      60             :     if (the_type == 0) {
      61             :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.chart2.ScaleData");
      62             :     }
      63             :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      64             : }
      65             : 
      66             : } } } }
      67             : 
      68             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::chart2::ScaleData const *) SAL_THROW(()) {
      69             :     return ::cppu::UnoType< css::chart2::ScaleData >::get();
      70             : }
      71             : 
      72             : #endif // INCLUDED_COM_SUN_STAR_CHART2_SCALEDATA_HPP

Generated by: LCOV version 1.10