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();
109 std::list<te::map::AbstractLayerPtr> getAllLayers(
bool invalid =
true);
118 std::list<te::map::AbstractLayerPtr> getSingleLayers(
bool invalid =
true);
127 std::list<te::map::AbstractLayerPtr> getVisibleSingleLayers(
bool invalid =
true);
134 void setTopLayers(
const std::list<te::map::AbstractLayerPtr>& layers);
143 const std::list<te::map::AbstractLayerPtr> getSelectedLayers(
bool invalid =
true)
const;
150 void setSelectedLayers(
const std::list<te::map::AbstractLayerPtr>& selectedLayers);
181 void setFileName(
const std::string& fName);
188 const std::string& getFileName()
const;
195 void setProjectAsChanged(
const bool& changed);
216 #endif // __TERRALIB_QT_AF_INTERNAL_PROJECT_H
std::string m_author
The author of the project.
std::list< te::map::AbstractLayerPtr > m_selectedLayers
The list of selected layers of the project.
Configuration flags for the TerraLib Application Framework.
std::string m_fileName
The project file.
#define TEQTAFEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::list< te::map::AbstractLayerPtr > m_topLayers
The list of top layers of the project.
This class models the concept of a project for the TerraLib Application Framework.
std::string m_title
The title of the project.
bool m_changed
Flag indicating that the project needs to be saved.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr