LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/toolkit/helper - unopropertyarrayhelper.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 1 0.0 %
Date: 2012-12-27 Functions: 0 2 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 _TOOLKIT_HELPER_UNOPROPERTYARRAYHELPER_HXX_
      21             : #define _TOOLKIT_HELPER_UNOPROPERTYARRAYHELPER_HXX_
      22             : 
      23             : #include <toolkit/dllapi.h>
      24             : #include <cppuhelper/propshlp.hxx>
      25             : 
      26             : #include <list>
      27             : #include <set>
      28             : #include "toolkit/dllapi.h"
      29             : 
      30             : //  ----------------------------------------------------
      31             : //  class UnoPropertyArrayHelper
      32             : //  ----------------------------------------------------
      33           0 : class TOOLKIT_DLLPUBLIC UnoPropertyArrayHelper : public ::cppu::IPropertyArrayHelper
      34             : {
      35             : private:
      36             :     std::set<sal_Int32>       maIDs;
      37             : 
      38             : protected:
      39             :     sal_Bool    ImplHasProperty( sal_uInt16 nPropId ) const;
      40             : 
      41             : public:
      42             :                 UnoPropertyArrayHelper( const ::com::sun::star::uno::Sequence<sal_Int32>& rIDs );
      43             :                 UnoPropertyArrayHelper( const std::list< sal_uInt16 > &rIDs );
      44             : 
      45             :     // ::cppu::IPropertyArrayHelper
      46             :     sal_Bool SAL_CALL fillPropertyMembersByHandle( ::rtl::OUString * pPropName, sal_Int16 * pAttributes, sal_Int32 nHandle );
      47             :     ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties();
      48             :     ::com::sun::star::beans::Property SAL_CALL getPropertyByName(const ::rtl::OUString& rPropertyName) throw (::com::sun::star::beans::UnknownPropertyException);
      49             :     sal_Bool SAL_CALL hasPropertyByName(const ::rtl::OUString& rPropertyName);
      50             :     sal_Int32 SAL_CALL getHandleByName( const ::rtl::OUString & rPropertyName );
      51             :     sal_Int32 SAL_CALL fillHandles( sal_Int32* pHandles, const ::com::sun::star::uno::Sequence< ::rtl::OUString > & rPropNames );
      52             : };
      53             : 
      54             : 
      55             : 
      56             : #endif // _TOOLKIT_HELPER_UNOPROPERTYARRAYHELPER_HXX_
      57             : 
      58             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10