Quantum GIS API Documentation  1.7.5-Wroclaw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
qgsvectoroverlay.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  qgsvectoroverlay.cpp - description
3  --------------------
4  begin : January 2007
5  copyright : (C) 2007 by Marco Hugentobler
6  email : marco dot hugentobler at karto dot baug dot ethz dot ch
7 ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #include "qgsvectoroverlay.h"
19 #include "qgsoverlayobject.h"
20 
21 QgsVectorOverlay::QgsVectorOverlay( QgsVectorLayer* vl ): mVectorLayer( vl ), mDisplayFlag( true )
22 {
23 
24 }
25 
27 {
28 
29 }
30 
32 {
33  QMap<int, QgsOverlayObject*>::iterator it = mOverlayObjects.begin();
34  for ( ; it != mOverlayObjects.end(); ++it )
35  {
36  delete( it.value() );
37  }
38  mOverlayObjects.clear();
39 }