LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/i18n - ParseResult.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_I18N_PARSERESULT_HPP
       2             : #define INCLUDED_COM_SUN_STAR_I18N_PARSERESULT_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/i18n/ParseResult.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 i18n {
      16             : 
      17       24728 : inline ParseResult::ParseResult() SAL_THROW(())
      18             :     : LeadingWhiteSpace(0)
      19             :     , EndPos(0)
      20             :     , CharLen(0)
      21             :     , Value(0)
      22             :     , TokenType(0)
      23             :     , StartFlags(0)
      24             :     , ContFlags(0)
      25       24728 :     , DequotedNameOrString()
      26             : {
      27       24728 : }
      28             : 
      29             : inline ParseResult::ParseResult(const ::sal_Int32& LeadingWhiteSpace_, const ::sal_Int32& EndPos_, const ::sal_Int32& CharLen_, const double& Value_, const ::sal_Int32& TokenType_, const ::sal_Int32& StartFlags_, const ::sal_Int32& ContFlags_, const ::rtl::OUString& DequotedNameOrString_) SAL_THROW(())
      30             :     : LeadingWhiteSpace(LeadingWhiteSpace_)
      31             :     , EndPos(EndPos_)
      32             :     , CharLen(CharLen_)
      33             :     , Value(Value_)
      34             :     , TokenType(TokenType_)
      35             :     , StartFlags(StartFlags_)
      36             :     , ContFlags(ContFlags_)
      37             :     , DequotedNameOrString(DequotedNameOrString_)
      38             : {
      39             : }
      40             : 
      41             : } } } }
      42             : 
      43             : namespace com { namespace sun { namespace star { namespace i18n {
      44             : 
      45             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::i18n::ParseResult const *) {
      46             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      47             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      48             :     if (the_type == 0) {
      49             :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.i18n.ParseResult");
      50             :     }
      51             :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      52             : }
      53             : 
      54             : } } } }
      55             : 
      56             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::i18n::ParseResult const *) SAL_THROW(()) {
      57             :     return ::cppu::UnoType< css::i18n::ParseResult >::get();
      58             : }
      59             : 
      60             : #endif // INCLUDED_COM_SUN_STAR_I18N_PARSERESULT_HPP

Generated by: LCOV version 1.10