Quantum GIS API Documentation  1.8
src/core/qgspalgeometry.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                         qgspalgeometry.h
00003                         ----------------
00004    begin                : May 2009
00005    copyright            : (C) 2009 by Marco Hugentobler
00006    email                : marco dot hugentobler at karto dot baug dot ethz dot ch
00007 ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef QGSPALGEOMETRY_H
00019 #define QGSPALGEOMETRY_H
00020 
00021 #include <qglobal.h>
00022 #include "palgeometry.h"
00023 
00024 class QgsOverlayObject;
00025 
00026 
00028 class CORE_EXPORT QgsPALGeometry: public pal::PalGeometry
00029 {
00030   public:
00033     QgsPALGeometry( QgsOverlayObject* op );
00034     ~QgsPALGeometry();
00035 
00036     //methods inherited from PalGeometry
00037     GEOSGeometry* getGeosGeometry();
00038     void releaseGeosGeometry( GEOSGeometry *the_geom ) { Q_UNUSED( the_geom ); }
00039 
00041     QgsOverlayObject* overlayObjectPtr() const { return mOverlayObjectPtr; }
00042 
00043   private:
00045     QgsPALGeometry();
00047     QgsOverlayObject* mOverlayObjectPtr;
00048 };
00049 
00050 #endif // QGSPALGEOMETRY_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines