LCOV - code coverage report
Current view: top level - chart2/source/model/inc - CartesianCoordinateSystem.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 2 0.0 %
Date: 2014-04-14 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             : #ifndef INCLUDED_CHART2_SOURCE_MODEL_INC_CARTESIANCOORDINATESYSTEM_HXX
      20             : #define INCLUDED_CHART2_SOURCE_MODEL_INC_CARTESIANCOORDINATESYSTEM_HXX
      21             : 
      22             : #include "ServiceMacros.hxx"
      23             : #include "BaseCoordinateSystem.hxx"
      24             : 
      25             : namespace chart
      26             : {
      27             : 
      28             : class CartesianCoordinateSystem : public BaseCoordinateSystem
      29             : {
      30             : public:
      31             :     explicit CartesianCoordinateSystem(
      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 CartesianCoordinateSystem( const CartesianCoordinateSystem & rSource );
      37             :     virtual ~CartesianCoordinateSystem();
      38             : 
      39             :     // ____ XCoordinateSystem ____
      40             :     virtual OUString SAL_CALL getCoordinateSystemType()
      41             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      42             :     virtual OUString SAL_CALL getViewServiceName()
      43             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      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, std::exception) SAL_OVERRIDE;
      49             : 
      50             :     // ____ XServiceInfo ____
      51             :     APPHELPER_XSERVICEINFO_DECL()
      52             : };
      53             : 
      54             : class CartesianCoordinateSystem2d : public CartesianCoordinateSystem
      55             : {
      56             : public:
      57             :     explicit CartesianCoordinateSystem2d(
      58             :         const ::com::sun::star::uno::Reference<
      59             :             ::com::sun::star::uno::XComponentContext > & xContext );
      60             :     virtual ~CartesianCoordinateSystem2d();
      61             : 
      62             :     /// establish methods for factory instatiation
      63           0 :     APPHELPER_SERVICE_FACTORY_HELPER( CartesianCoordinateSystem2d )
      64             :     // ____ XServiceInfo ____
      65             :     APPHELPER_XSERVICEINFO_DECL()
      66             : };
      67             : 
      68             : class CartesianCoordinateSystem3d : public CartesianCoordinateSystem
      69             : {
      70             : public:
      71             :     explicit CartesianCoordinateSystem3d(
      72             :         const ::com::sun::star::uno::Reference<
      73             :             ::com::sun::star::uno::XComponentContext > & xContext );
      74             :     virtual ~CartesianCoordinateSystem3d();
      75             : 
      76             :     /// establish methods for factory instatiation
      77           0 :     APPHELPER_SERVICE_FACTORY_HELPER( CartesianCoordinateSystem3d )
      78             :     // ____ XServiceInfo ____
      79             :     APPHELPER_XSERVICEINFO_DECL()
      80             : };
      81             : 
      82             : }  // namespace chart
      83             : 
      84             : // INCLUDED_CHART2_SOURCE_MODEL_INC_CARTESIANCOORDINATESYSTEM_HXX
      85             : #endif
      86             : 
      87             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10