LCOV - code coverage report
Current view: top level - libreoffice/forms/source/xforms - datatypes_impl.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 17 0.0 %
Date: 2012-12-17 Functions: 0 33 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : 
      20             : #ifndef DATATYPES_INCLUDED_BY_MASTER_HEADER
      21             :     #error "not to be included directly!"
      22             : #endif
      23             : 
      24             : //--------------------------------------------------------------------
      25             : template< typename CONCRETE_DATA_TYPE_IMPL, typename SUPERCLASS >
      26           0 : ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, SUPERCLASS >::ODerivedDataType( const ::rtl::OUString& _rName, sal_Int16 _nTypeClass )
      27             :     :SUPERCLASS( _rName, _nTypeClass )
      28           0 :     ,m_bPropertiesRegistered( false )
      29             : {
      30           0 : }
      31             : 
      32             : //--------------------------------------------------------------------
      33             : template< typename CONCRETE_DATA_TYPE_IMPL, typename SUPERCLASS >
      34           0 : ::cppu::IPropertyArrayHelper* ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, SUPERCLASS >::createArrayHelper( ) const
      35             : {
      36           0 :     ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > aProps;
      37           0 :     ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, SUPERCLASS >::describeProperties( aProps );
      38           0 :     return new ::cppu::OPropertyArrayHelper( aProps );
      39             : }
      40             : 
      41             : //--------------------------------------------------------------------
      42             : template< typename CONCRETE_DATA_TYPE_IMPL, typename SUPERCLASS >
      43           0 : ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, SUPERCLASS >::getPropertySetInfo() throw( ::com::sun::star::uno::RuntimeException )
      44             : {
      45           0 :         return ::cppu::OPropertySetHelper::createPropertySetInfo( getInfoHelper() );
      46             : }
      47             : 
      48             : //--------------------------------------------------------------------
      49             : template< typename CONCRETE_DATA_TYPE_IMPL, typename SUPERCLASS >
      50           0 : ::cppu::IPropertyArrayHelper& SAL_CALL ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, SUPERCLASS >::getInfoHelper()
      51             : {
      52           0 :     if ( !m_bPropertiesRegistered )
      53             :     {
      54           0 :         const_cast< ODerivedDataType* >( this )->registerProperties();
      55           0 :         const_cast< ODerivedDataType* >( this )->m_bPropertiesRegistered = true;
      56             :     }
      57             : 
      58           0 :     return *ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, SUPERCLASS >::getArrayHelper();
      59             : }
      60             : 
      61             : 
      62             : //--------------------------------------------------------------------
      63             : template< typename VALUE_TYPE >
      64           0 : OValueLimitedType< VALUE_TYPE >::OValueLimitedType( const ::rtl::OUString& _rName, sal_Int16 _nTypeClass )
      65           0 :     :OValueLimitedType_Base( _rName, _nTypeClass )
      66             : {
      67           0 : }
      68             : 
      69             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10