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

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_SHEET_TABLEFILTERFIELD_HPP
       2             : #define INCLUDED_COM_SUN_STAR_SHEET_TABLEFILTERFIELD_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/sheet/TableFilterField.hdl"
       7             : 
       8             : #include "com/sun/star/sheet/FilterOperator.hpp"
       9             : #include "com/sun/star/sheet/FilterConnection.hpp"
      10             : #include "com/sun/star/uno/Type.hxx"
      11             : #include "cppu/unotype.hxx"
      12             : #include "rtl/ustring.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           0 : inline TableFilterField::TableFilterField() SAL_THROW(())
      20             :     : Connection(css::sheet::FilterConnection_AND)
      21             :     , Field(0)
      22             :     , Operator(css::sheet::FilterOperator_EMPTY)
      23             :     , IsNumeric(false)
      24             :     , NumericValue(0)
      25           0 :     , StringValue()
      26             : {
      27           0 : }
      28             : 
      29           0 : inline TableFilterField::TableFilterField(const css::sheet::FilterConnection& Connection_, const ::sal_Int32& Field_, const css::sheet::FilterOperator& Operator_, const ::sal_Bool& IsNumeric_, const double& NumericValue_, const ::rtl::OUString& StringValue_) SAL_THROW(())
      30             :     : Connection(Connection_)
      31             :     , Field(Field_)
      32             :     , Operator(Operator_)
      33             :     , IsNumeric(IsNumeric_)
      34             :     , NumericValue(NumericValue_)
      35           0 :     , StringValue(StringValue_)
      36             : {
      37           0 : }
      38             : 
      39             : } } } }
      40             : 
      41             : namespace com { namespace sun { namespace star { namespace sheet {
      42             : 
      43           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::sheet::TableFilterField const *) {
      44             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      45             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      46           0 :     if (the_type == 0) {
      47           0 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.sheet.TableFilterField");
      48             :     }
      49           0 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      50             : }
      51             : 
      52             : } } } }
      53             : 
      54             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::sheet::TableFilterField const *) SAL_THROW(()) {
      55             :     return ::cppu::UnoType< css::sheet::TableFilterField >::get();
      56             : }
      57             : 
      58             : #endif // INCLUDED_COM_SUN_STAR_SHEET_TABLEFILTERFIELD_HPP

Generated by: LCOV version 1.10