All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::layout::AbstractProxyProject Class Referenceabstract

Abstract class to provide a surrogate or placeholder for te::qt::af::Project to control access to it. A wrapper to access without complexity. This abstract proxy is required because module not must have dependence te::qt::af. Useful to access the Layers belonging to the project. More...

#include <AbstractProxyProject.h>

Inheritance diagram for te::layout::AbstractProxyProject:
te::qt::plugins::layout::ProxyProject

Public Member Functions

 AbstractProxyProject ()
 Constructor. More...
 
virtual te::map::AbstractLayerPtr contains (std::string name)=0
 Checks whether the layer is in the project. More...
 
virtual std::list
< te::map::AbstractLayerPtr
getAllLayers (bool invalid=true)=0
 It gets all the layers (single and folder layers) of the project. More...
 
virtual const std::list
< te::map::AbstractLayerPtr
getSelectedLayers (bool invalid=true) const =0
 It gets all the layers that are selected. More...
 
virtual ~AbstractProxyProject ()
 Destructor. More...
 

Detailed Description

Abstract class to provide a surrogate or placeholder for te::qt::af::Project to control access to it. A wrapper to access without complexity. This abstract proxy is required because module not must have dependence te::qt::af. Useful to access the Layers belonging to the project.

Definition at line 50 of file AbstractProxyProject.h.

Constructor & Destructor Documentation

te::layout::AbstractProxyProject::AbstractProxyProject ( )

Constructor.

Definition at line 31 of file AbstractProxyProject.cpp.

te::layout::AbstractProxyProject::~AbstractProxyProject ( )
virtual

Destructor.

Definition at line 36 of file AbstractProxyProject.cpp.

Member Function Documentation

virtual te::map::AbstractLayerPtr te::layout::AbstractProxyProject::contains ( std::string  name)
pure virtual

Checks whether the layer is in the project.

Parameters
namelayer name to check
Returns
pointer to the layer found or null

Implemented in te::qt::plugins::layout::ProxyProject.

Referenced by te::layout::MapItem::updateProperties().

virtual std::list<te::map::AbstractLayerPtr> te::layout::AbstractProxyProject::getAllLayers ( bool  invalid = true)
pure virtual

It gets all the layers (single and folder layers) of the project.

Parameters
invalidIf including invalid layers.
Returns
The list of all the layers (single and folder layers) of the project.

Implemented in te::qt::plugins::layout::ProxyProject.

virtual const std::list<te::map::AbstractLayerPtr> te::layout::AbstractProxyProject::getSelectedLayers ( bool  invalid = true) const
pure virtual

It gets all the layers that are selected.

Parameters
invalidIf including invalid layers.
Returns
The list of all the layers that are selected.

Implemented in te::qt::plugins::layout::ProxyProject.


The documentation for this class was generated from the following files: