Loading...
Searching...
No Matches
Stasher.h
Go to the documentation of this file.
1/* Copyright (C) 2008-2013 National Institute For Space Research (INPE) - Brazil.
2
3 This file is part of the TerraLib - a Framework for building GIS enabled applications.
4
5 TerraLib is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation, either version 3 of the License,
8 or (at your option) any later version.
9
10 TerraLib is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public License
16 along with TerraLib. See COPYING. If not, write to
17 TerraLib Team at <terralib-team@terralib.org>.
18 */
19
20/*!
21 \file
22
23 \brief
24*/
25
26#ifndef __TERRALIB_PLUGINEDIT_INTERNAL_STASHER_H
27#define __TERRALIB_PLUGINEDIT_INTERNAL_STASHER_H
28
29#include <map>
30#include <set>
31#include <string>
32
33// Qt
34#include <QString>
35
36// Forward declarations.
37namespace te
38{
39 namespace gm
40 {
41 class Geometry;
42 }
43
44 namespace map
45 {
46 class AbstractLayer;
47 }
48}
49
50void StashGeometries(const te::map::AbstractLayer* layer, const std::map<std::string, te::gm::Geometry*>& geoms, const std::map<std::string, int>& ops);
51
52void GetStashedGeometries(const te::map::AbstractLayer* layer, std::map<std::string, te::gm::Geometry*>& geoms, std::map<std::string, int>& ops);
53
54std::set<std::string> GetStashedLayers();
55
57
58bool RemoveDir(const QString& dirName);
59
60#endif // __TERRALIB_PLUGINEDIT_INTERNAL_STASHER_H
61
62
63
std::set< std::string > GetStashedLayers()
void GetStashedGeometries(const te::map::AbstractLayer *layer, std::map< std::string, te::gm::Geometry * > &geoms, std::map< std::string, int > &ops)
void StashGeometries(const te::map::AbstractLayer *layer, const std::map< std::string, te::gm::Geometry * > &geoms, const std::map< std::string, int > &ops)
bool RemoveDir(const QString &dirName)
void RemoveStash(const te::map::AbstractLayer *layer)
This is the base class for layers.
Definition: AbstractLayer.h:78
TerraLib.