#include <Expression.h>
  
 Public Types | |
| typedef std::map< std::string,  ExpressionReadFnctType >  | ExpressionFnctIdxType | 
| typedef boost::function < te::fe::Expression *(te::xml::Reader &)>  | ExpressionReadFnctType | 
Public Member Functions | |
| te::fe::Expression * | read (te::xml::Reader &reader) const | 
| void | reg (const std::string &expName, const ExpressionReadFnctType &fnct) | 
| void | write (const te::fe::Expression *exp, te::xml::AbstractWriter &writer) | 
| ~Expression () | |
Visitor Methods  | |
All concrete visitors must implement these methods.  | |
| void | visit (const te::fe::BinaryOperator &visited) | 
| void | visit (const te::fe::Function &visited) | 
| void | visit (const te::fe::Literal &visited) | 
| void | visit (const te::fe::PropertyName &visited) | 
| void | visit (const te::fe::AbstractOp &visited) | 
| void | visit (const te::fe::SpatialOp &visited) | 
| void | visit (const te::fe::ComparisonOp &visited) | 
| void | visit (const te::fe::LogicOp &visited) | 
| void | visit (const te::fe::BBOXOp &visited) | 
| void | visit (const te::fe::BinaryComparisonOp &visited) | 
| void | visit (const te::fe::BinaryLogicOp &visited) | 
| void | visit (const te::fe::BinarySpatialOp &visited) | 
| void | visit (const te::fe::DistanceBuffer &visited) | 
| void | visit (const te::fe::PropertyIsBetween &visited) | 
| void | visit (const te::fe::PropertyIsLike &visited) | 
| void | visit (const te::fe::PropertyIsNull &visited) | 
| void | visit (const te::fe::UnaryLogicOp &visited) | 
| void | visit (const te::fe::Expression &visited) | 
Static Public Member Functions | |
| static T & | getInstance () | 
| It returns a reference to the singleton instance.  More... | |
Protected Member Functions | |
| Expression () | |
Private Attributes | |
| ExpressionFnctIdxType | m_fncts | 
| te::xml::AbstractWriter * | m_writer | 
Friends | |
| class | te::common::Singleton< Expression > | 
Definition at line 55 of file Expression.h.
| typedef std::map<std::string, ExpressionReadFnctType> te::fe::serialize::Expression::ExpressionFnctIdxType | 
Definition at line 62 of file Expression.h.
| typedef boost::function<te::fe::Expression* (te::xml::Reader&)> te::fe::serialize::Expression::ExpressionReadFnctType | 
Definition at line 61 of file Expression.h.
| te::fe::serialize::Expression::~Expression | ( | ) | 
Definition at line 118 of file Expression.cpp.
      
  | 
  protected | 
Definition at line 122 of file Expression.cpp.
References BinaryOperatorReader(), LiteralReader(), m_fncts, PropertyNameReader(), te::fe::Globals::sm_add, te::fe::Globals::sm_div, te::fe::Globals::sm_mul, and te::fe::Globals::sm_sub.
      
  | 
  inlinestaticinherited | 
It 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().
| te::fe::Expression * te::fe::serialize::Expression::read | ( | te::xml::Reader & | reader | ) | const | 
Definition at line 58 of file Expression.cpp.
References te::xml::Reader::getElementLocalName(), te::xml::Reader::getNodeType(), TE_TR, and te::xml::VALUE.
| void te::fe::serialize::Expression::reg | ( | const std::string & | expName, | 
| const ExpressionReadFnctType & | fnct | ||
| ) | 
Definition at line 53 of file Expression.cpp.
References m_fncts.
      
  | 
  virtual | 
Implements te::fe::Visitor.
Definition at line 84 of file Expression.cpp.
References te::common::BaseVisitable< T, R >::accept(), te::fe::BinaryOperator::getFirst(), te::fe::BinaryOperator::getName(), and te::fe::BinaryOperator::getSecond().
      
  | 
  virtual | 
Implements te::fe::Visitor.
Definition at line 102 of file Expression.cpp.
      
  | 
  virtual | 
Implements te::fe::Visitor.
Definition at line 107 of file Expression.cpp.
References te::fe::Literal::getValue().
      
  | 
  virtual | 
Implements te::fe::Visitor.
Definition at line 113 of file Expression.cpp.
References te::fe::PropertyName::getName().
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 80 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 81 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 82 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 83 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 84 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 85 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 86 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 87 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 88 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 89 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 90 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 91 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 92 of file Expression.h.
      
  | 
  inlinevirtual | 
Implements te::fe::Visitor.
Definition at line 93 of file Expression.h.
| void te::fe::serialize::Expression::write | ( | const te::fe::Expression * | exp, | 
| te::xml::AbstractWriter & | writer | ||
| ) | 
Definition at line 73 of file Expression.cpp.
References te::common::BaseVisitable< T, R >::accept().
      
  | 
  friend | 
Definition at line 57 of file Expression.h.
      
  | 
  private | 
Definition at line 105 of file Expression.h.
Referenced by Expression(), and reg().
      
  | 
  private | 
Definition at line 106 of file Expression.h.