26 #ifndef __TERRALIB_QT_AF_INTERNAL_PROJECT_H
27 #define __TERRALIB_QT_AF_INTERNAL_PROJECT_H
30 #include "../../maptools/AbstractLayer.h"
65 void setTitle(
const std::string& title);
72 const std::string& getTitle()
const;
79 void setAuthor(
const std::string& author);
86 const std::string& getAuthor()
const;
93 const std::list<te::map::AbstractLayerPtr>& getTopLayers()
const;
100 std::list<te::map::AbstractLayerPtr>& getTopLayers();
107 std::list<te::map::AbstractLayerPtr> getAllLayers();
114 std::list<te::map::AbstractLayerPtr> getSingleLayers();
121 std::list<te::map::AbstractLayerPtr> getVisibleSingleLayers();
128 void setTopLayers(
const std::list<te::map::AbstractLayerPtr>& layers);
135 const std::list<te::map::AbstractLayerPtr> getSelectedLayers()
const;
142 void setSelectedLayers(
const std::list<te::map::AbstractLayerPtr>& selectedLayers);
173 void setFileName(
const std::string& fName);
180 const std::string& getFileName()
const;
187 void setProjectAsChanged(
const bool& changed);
208 #endif // __TERRALIB_QT_AF_INTERNAL_PROJECT_H
std::string m_author
The author of the project.
std::list< te::map::AbstractLayerPtr > m_topLayers
The list of top layers of the project.
std::string m_title
The title of the project.
std::list< te::map::AbstractLayerPtr > m_selectedLayers
The list of selected layers of the project.
This class models the concept of a project for the TerraLib Application Framework.
Configuration flags for the TerraLib Application Framework.
#define TEQTAFEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::string m_fileName
The project file.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr
bool m_changed
Flag indicating that the project needs to be saved.