LCOV - code coverage report
Current view: top level - libreoffice/chart2/source/model/inc - PolarCoordinateSystem.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 2 50.0 %
Date: 2012-12-27 Functions: 1 2 50.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             : #ifndef _CHART_POLARCOORDINATESYSTEM_HXX
      20             : #define _CHART_POLARCOORDINATESYSTEM_HXX
      21             : 
      22             : #include "ServiceMacros.hxx"
      23             : #include "BaseCoordinateSystem.hxx"
      24             : 
      25             : namespace chart
      26             : {
      27             : 
      28             : class PolarCoordinateSystem : public BaseCoordinateSystem
      29             : {
      30             : public:
      31             :     explicit PolarCoordinateSystem(
      32             :         const ::com::sun::star::uno::Reference<
      33             :             ::com::sun::star::uno::XComponentContext > & xContext,
      34             :         sal_Int32 nDimensionCount = 2,
      35             :         sal_Bool bSwapXAndYAxis = sal_False );
      36             :     explicit PolarCoordinateSystem( const PolarCoordinateSystem & rSource );
      37             :     virtual ~PolarCoordinateSystem();
      38             : 
      39             :     // ____ XCoordinateSystem ____
      40             :     virtual ::rtl::OUString SAL_CALL getCoordinateSystemType()
      41             :         throw (::com::sun::star::uno::RuntimeException);
      42             :     virtual ::rtl::OUString SAL_CALL getViewServiceName()
      43             :         throw (::com::sun::star::uno::RuntimeException);
      44             : 
      45             :     // ____ XCloneable ____
      46             :     virtual ::com::sun::star::uno::Reference<
      47             :             ::com::sun::star::util::XCloneable > SAL_CALL createClone()
      48             :         throw (::com::sun::star::uno::RuntimeException);
      49             : 
      50             :     // ____ XServiceInfo ____
      51             :     APPHELPER_XSERVICEINFO_DECL()
      52             : };
      53             : 
      54             : class PolarCoordinateSystem2d : public PolarCoordinateSystem
      55             : {
      56             : public:
      57             :     explicit PolarCoordinateSystem2d(
      58             :         const ::com::sun::star::uno::Reference<
      59             :             ::com::sun::star::uno::XComponentContext > & xContext );
      60             :     virtual ~PolarCoordinateSystem2d();
      61             : 
      62             :     /// establish methods for factory instatiation
      63          37 :     APPHELPER_SERVICE_FACTORY_HELPER( PolarCoordinateSystem2d )
      64             :     // ____ XServiceInfo ____
      65             :     APPHELPER_XSERVICEINFO_DECL()
      66             : };
      67             : 
      68             : class PolarCoordinateSystem3d : public PolarCoordinateSystem
      69             : {
      70             : public:
      71             :     explicit PolarCoordinateSystem3d(
      72             :         const ::com::sun::star::uno::Reference<
      73             :             ::com::sun::star::uno::XComponentContext > & xContext );
      74             :     virtual ~PolarCoordinateSystem3d();
      75             : 
      76             :     /// establish methods for factory instatiation
      77           0 :     APPHELPER_SERVICE_FACTORY_HELPER( PolarCoordinateSystem3d )
      78             :     // ____ XServiceInfo ____
      79             :     APPHELPER_XSERVICEINFO_DECL()
      80             : };
      81             : 
      82             : }  // namespace chart
      83             : 
      84             : // _CHART_POLARCOORDINATESYSTEM_HXX
      85             : #endif
      86             : 
      87             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10