Stasher.cpp File Reference
#include "GeometryFile.h"
#include "Stasher.h"
#include "../../../edit/Enums.h"
#include "../../../edit/Utils.h"
#include "../../../maptools/AbstractLayer.h"
#include <QDir>
#include <QDesktopServices>

Go to the source code of this file.

Functions

void GetStashedGeometries (const te::map::AbstractLayer *layer, std::map< std::string, te::gm::Geometry * > &geoms, std::map< std::string, int > &ops)
 
std::set< std::string > GetStashedLayers ()
 
bool RemoveDir (const QString &dirName)
 
void RemoveStash (const te::map::AbstractLayer *layer)
 
void StashGeometries (const te::map::AbstractLayer *layer, const std::map< std::string, te::gm::Geometry * > &geoms, const std::map< std::string, int > &ops)
 

Function Documentation

void GetStashedGeometries ( const te::map::AbstractLayer layer,
std::map< std::string, te::gm::Geometry * > &  geoms,
std::map< std::string, int > &  ops 
)
std::set<std::string> GetStashedLayers ( )

Definition at line 145 of file Stasher.cpp.

Referenced by te::qt::plugins::edit::Plugin::startup().

bool RemoveDir ( const QString &  dirName)

Definition at line 183 of file Stasher.cpp.

References RemoveDir().

Referenced by RemoveDir(), and RemoveStash().

void RemoveStash ( const te::map::AbstractLayer layer)
void StashGeometries ( const te::map::AbstractLayer layer,
const std::map< std::string, te::gm::Geometry * > &  geoms,
const std::map< std::string, int > &  ops 
)