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

Utility class for visitor. More...

#include <VisitorUtils.h>

Inheritance diagram for te::layout::VisitorUtils:
te::common::Singleton< T >

Public Member Functions

bool changeMapVisitable (QList< QGraphicsItem * > graphicsItems, Visitable *visitable)
 Sets the other map (MapModel) for visitable. More...
 
virtual ~VisitorUtils ()
 Destructor. More...
 

Static Public Member Functions

static T & getInstance ()
 It returns a reference to the singleton instance. More...
 

Protected Member Functions

 VisitorUtils ()
 Constructor. More...
 

Private Member Functions

VisitorUtilsoperator= (const VisitorUtils &rhs)
 Assignment operator not allowed. More...
 
 VisitorUtils (const VisitorUtils &rhs)
 Copy constructor not allowed. More...
 

Friends

class te::common::Singleton< VisitorUtils >
 

Detailed Description

Utility class for visitor.

Definition at line 49 of file VisitorUtils.h.

Constructor & Destructor Documentation

te::layout::VisitorUtils::~VisitorUtils ( )
virtual

Destructor.

Definition at line 47 of file VisitorUtils.cpp.

te::layout::VisitorUtils::VisitorUtils ( )
protected

Constructor.

Definition at line 42 of file VisitorUtils.cpp.

te::layout::VisitorUtils::VisitorUtils ( const VisitorUtils rhs)
private

Copy constructor not allowed.

Parameters
rhsThe right-hand-side copy that would be used to copy from.

Member Function Documentation

bool te::layout::VisitorUtils::changeMapVisitable ( QList< QGraphicsItem * >  graphicsItems,
Visitable visitable 
)

Sets the other map (MapModel) for visitable.

Parameters
graphicsItemsitems that are visitors
visitableother map (MapModel)
Returns
true if changed, false otherwise

Definition at line 52 of file VisitorUtils.cpp.

References te::layout::Visitable::acceptVisitor(), and te::layout::ItemObserver::getModel().

template<class T >
T & te::common::Singleton< T >::getInstance ( )
inlinestaticinherited

It returns a reference to the singleton instance.

Returns
A reference to the singleton instance.

Definition at line 120 of file Singleton.h.

Referenced by BBOXReader(), BBOXWriter(), BetweenReader(), BetweenWriter(), BinaryComparsionOpReader(), BinaryComparsionOpWriter(), BinaryOperatorReader(), BinarySpatialOpReader(), BinarySpatialOpWriter(), te::map::AbstractLayerRenderer::buildChart(), te::map::QueryLayerRenderer::buildChart(), te::edit::SnapOptionsDialog::buildOptions(), te::layout::PropertiesOutside::changeMapVisitable(), te::layout::ItemUtils::createLegendChildItemFromLegend(), DistanceBufferOpWriter(), DistanceBufferReader(), te::sa::GetColorBar(), te::edit::Module::initialize(), te::color::Module::initialize(), te::qt::widgets::Module::initialize(), te::qt::af::GeneralConfigWidget::initialize(), te::qt::af::ApplicationController::initialize(), LikeReader(), LikeWriter(), te::qt::widgets::ColorCatalogWidget::loadDefaultColorCatalog(), NullReader(), NullWriter(), te::qt::plugins::edit::ApplicationListener::onApplicationTriggered(), te::qt::widgets::ColorCatalogWidget::onCatalogComboBoxActivated(), te::qt::widgets::ColorCatalogWidget::onGroupComboBoxActivated(), te::edit::SnapOptionsDialog::onOkPushButtonPressed(), te::qt::widgets::ColorCatalogWidget::onSchemaComboBoxActivated(), te::se::serialize::ReadGeometryPropertyHelper(), te::map::serialize::ReadGroupingItem(), te::se::serialize::ReadParameterValue(), te::se::serialize::ReadRule(), te::se::serialize::ReadSvgParameter(), te::qt::widgets::ReadSymbol(), te::se::serialize::Save(), te::color::ColorSchemeCatalog::setName(), te::qt::af::UpdateUserSettingsFile(), te::se::serialize::WriteGeometryPropertyHelper(), and te::map::serialize::WriteLayerGrouping().

VisitorUtils& te::layout::VisitorUtils::operator= ( const VisitorUtils rhs)
private

Assignment operator not allowed.

Parameters
rhsThe right-hand-side copy that would be used to copy from.
Returns
A reference to this object.

Friends And Related Function Documentation

friend class te::common::Singleton< VisitorUtils >
friend

Definition at line 51 of file VisitorUtils.h.


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