30 #include "../../af/Project.h"
31 #include "../../af/ApplicationController.h"
61 std::list<te::map::AbstractLayerPtr>::iterator it;
63 for(it = layers.begin() ; it != layers.end() ; ++it)
69 if(layerPtr->getTitle().compare(name) == 0)
Provide a surrogate or placeholder for te::qt::af::Project to control access to it. A wrapper to access without complexity. This proxy is required because module not must have dependence te::qt::af. Useful to access the Layers belonging to the project.
std::list< te::map::AbstractLayerPtr > getAllLayers(bool invalid=true)
Reimplemented from AbstractProxyProject.
te::map::AbstractLayerPtr contains(std::string name)
Reimplemented from AbstractProxyProject.
const std::list< te::map::AbstractLayerPtr > getSelectedLayers(bool invalid=true) const
Reimplemented from AbstractProxyProject.
virtual ~ProxyProject()
Destructor.
static ApplicationController & getInstance()
It returns a reference to the singleton instance.
ProxyProject()
Constructor.
boost::intrusive_ptr< AbstractLayer > AbstractLayerPtr