te::da::Expression Class Referenceabstract

This is an abstract class that models a query expression. More...

#include <Expression.h>

Inheritance diagram for te::da::Expression:
te::common::BaseVisitable< QueryVisitor > te::da::Function te::da::Literal te::da::LiteralEnvelope te::da::PropertyName te::da::SelectExpression te::da::BinaryFunction te::da::GeometryType te::da::In te::da::Like te::da::ST_Area te::da::ST_Buffer te::da::ST_Centroid te::da::ST_ConvexHull te::da::ST_DistanceBuffer te::da::ST_Envelope te::da::ST_Extent te::da::ST_IsClosed te::da::ST_IsEmpty te::da::ST_IsValid te::da::ST_Length te::da::ST_MakeValid te::da::ST_Multi te::da::ST_NPoints te::da::ST_Perimeter te::da::ST_Relate te::da::ST_StartPoint te::da::ST_Transform te::da::Substring te::da::UnaryFunction te::da::LiteralBool te::da::LiteralByteArray te::da::LiteralDateTime te::da::LiteralDouble te::da::LiteralGeom te::da::LiteralInt16 te::da::LiteralInt32 te::da::LiteralInt64 te::da::LiteralString

Public Types

typedef void ReturnType
 
typedef QueryVisitor VisitorType
 

Public Member Functions

virtual ReturnType accept (VisitorType &guest) const=0
 It call the visit method from the guest object. More...
 
virtual Expressionclone () const =0
 It creates a new copy of this expression. More...
 
TE_DEFINE_VISITABLE Expression ()
 Default constructor. More...
 
virtual ~Expression ()
 Virtual destructor. More...
 

Detailed Description

This is an abstract class that models a query expression.

An expression is a combination of one or more functions, literals or property names that can be evaluated.

See also
PropertyName, Function, Literal

Definition at line 47 of file Expression.h.

Member Typedef Documentation

◆ ReturnType

typedef void te::common::BaseVisitable< QueryVisitor , void >::ReturnType
inherited

Definition at line 58 of file BaseVisitable.h.

◆ VisitorType

Definition at line 57 of file BaseVisitable.h.

Constructor & Destructor Documentation

◆ Expression()

TE_DEFINE_VISITABLE te::da::Expression::Expression ( )
inline

Default constructor.

Definition at line 54 of file Expression.h.

◆ ~Expression()

virtual te::da::Expression::~Expression ( )
inlinevirtual

Virtual destructor.

Definition at line 57 of file Expression.h.

Member Function Documentation

◆ accept()

virtual ReturnType te::common::BaseVisitable< QueryVisitor , void >::accept ( VisitorType guest) const
pure virtualinherited

It call the visit method from the guest object.

Parameters
guestThe guest or visitor.
Returns
Any valid value define by the template type R.

◆ clone()

virtual Expression* te::da::Expression::clone ( ) const
pure virtual

It creates a new copy of this expression.

Implemented in te::da::ST_Buffer, te::da::ST_Area, te::da::ST_IsEmpty, te::da::ST_IsValid, te::da::ST_Length, te::da::ST_NPoints, te::da::ST_Perimeter, te::da::In, te::da::ST_DistanceBuffer, te::da::ST_Relate, te::da::ST_Centroid, te::da::ST_ConvexHull, te::da::ST_Envelope, te::da::ST_StartPoint, te::da::LiteralEnvelope, te::da::ST_IsClosed, te::da::ST_MakeValid, te::da::ST_Multi, te::da::ST_Extent, te::da::GeometryType, te::da::Literal, te::da::LessThanOrEqualTo, te::da::ST_Contains, te::da::BinaryOp, te::da::SelectExpression, te::da::ST_Beyond, te::da::ST_DWithin, te::da::Add, te::da::And, te::da::Coalesce, te::da::Div, te::da::EqualTo, te::da::GreaterThan, te::da::GreaterThanOrEqualTo, te::da::LessThan, te::da::LiteralBool, te::da::LiteralByteArray, te::da::LiteralDateTime, te::da::LiteralDouble, te::da::Mul, te::da::Not, te::da::NotEqualTo, te::da::Or, te::da::ST_AddPoint, te::da::ST_Crosses, te::da::ST_Difference, te::da::ST_Disjoint, te::da::ST_EnvelopeIntersects, te::da::ST_Equals, te::da::ST_Intersection, te::da::ST_Intersects, te::da::ST_Overlaps, te::da::ST_SetSRID, te::da::ST_Touches, te::da::ST_Transform, te::da::ST_Within, te::da::Sub, te::da::BinaryFunction, te::da::Avg, te::da::Cast, te::da::Count, te::da::IsNull, te::da::LiteralGeom, te::da::Max, te::da::Min, te::da::ST_Boundary, te::da::ST_Collect, te::da::ST_Dump, te::da::ST_DumpRings, te::da::ST_MakePolygon, te::da::ST_NumGeometries, te::da::ST_Union, te::da::StdDev, te::da::Sum, te::da::Variance, te::da::Like, te::da::UnaryFunction, te::da::UnaryOp, te::da::PropertyName, te::da::Function, te::da::LiteralInt16, te::da::LiteralInt32, te::da::LiteralInt64, te::da::LiteralString, and te::da::Substring.

Referenced by te::da::new_clone().


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