te::da::ST_Boundary Class Referenceabstract

ST_Boundary statistical function. More...

#include <ST_Boundary.h>

Inheritance diagram for te::da::ST_Boundary:
te::da::UnaryFunction te::da::Function te::da::Expression te::common::BaseVisitable< QueryVisitor >

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...
 
void add (Expression *arg)
 It adds the argument to the function list of arguments. More...
 
Expressionclone () const
 It creates a new copy of this expression. More...
 
ExpressiongetArg (std::size_t i) const
 It returns the i-th function argument. More...
 
ExpressiongetArgument () const
 It returns the function associated argument. More...
 
const std::string & getName () const
 It returns the function name. More...
 
std::size_t getNumArgs () const
 It returns the number of arguments informed to the function. More...
 
ST_Boundaryoperator= (const ST_Boundary &rhs)
 
Expressionoperator[] (std::size_t i) const
 It returns the i-th function argument. More...
 
void setArgument (Expression *arg)
 It sets the function argument. More...
 
TE_DEFINE_VISITABLE ST_Boundary (Expression *arg)
 Constructor. More...
 
 ST_Boundary (const Expression &arg)
 Constructor. More...
 
 ST_Boundary (const ST_Boundary &rhs)
 Copy constructor. More...
 
 ~ST_Boundary ()
 Destructor. More...
 

Protected Attributes

std::vector< Expression * > m_args
 The list of arguments. More...
 
std::string m_name
 The function name. May be an operator symbol or just a regular name like ST_Intersects. More...
 

Detailed Description

ST_Boundary statistical function.

This function is just a syntatic-suggar.

See also
UnaryFunction

Definition at line 46 of file ST_Boundary.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

◆ ST_Boundary() [1/3]

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

Constructor.

Parameters
argThe single function argument.
Note
The ST_Boundary function will take the ownership of the given argument.

Definition at line 59 of file ST_Boundary.h.

◆ ST_Boundary() [2/3]

te::da::ST_Boundary::ST_Boundary ( const Expression arg)
inline

Constructor.

Parameters
argThe single function argument.

Definition at line 66 of file ST_Boundary.h.

◆ ST_Boundary() [3/3]

te::da::ST_Boundary::ST_Boundary ( const ST_Boundary rhs)

Copy constructor.

◆ ~ST_Boundary()

te::da::ST_Boundary::~ST_Boundary ( )
inline

Destructor.

Definition at line 72 of file ST_Boundary.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.

◆ add()

void te::da::Function::add ( Expression arg)
inherited

It adds the argument to the function list of arguments.

Parameters
argThe argument to be added.
Note
The Function will take the ownership of the given argument.

◆ clone()

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

It creates a new copy of this expression.

Reimplemented from te::da::Function.

◆ getArg()

Expression* te::da::Function::getArg ( std::size_t  i) const
inherited

It returns the i-th function argument.

Parameters
iThe argument position.
Returns
The it-th function argument.

◆ getArgument()

Expression* te::da::UnaryFunction::getArgument ( ) const
inherited

It returns the function associated argument.

Returns
The function associated argument.

◆ getName()

const std::string& te::da::Function::getName ( ) const
inlineinherited

It returns the function name.

Returns
The function name.

Definition at line 79 of file Function.h.

◆ getNumArgs()

std::size_t te::da::Function::getNumArgs ( ) const
inherited

It returns the number of arguments informed to the function.

Returns
The number of parameters.

◆ operator=()

ST_Boundary& te::da::ST_Boundary::operator= ( const ST_Boundary rhs)

Assignment operator.

◆ operator[]()

Expression* te::da::Function::operator[] ( std::size_t  i) const
inherited

It returns the i-th function argument.

Parameters
iThe argument position.
Returns
The it-th function argument.

◆ setArgument()

void te::da::UnaryFunction::setArgument ( Expression arg)
inherited

It sets the function argument.

Parameters
argThe single function argument.
Note
The UnaryFunction will take the ownership of the given argument.

Member Data Documentation

◆ m_args

std::vector<Expression*> te::da::Function::m_args
protectedinherited

The list of arguments.

Definition at line 118 of file Function.h.

◆ m_name

std::string te::da::Function::m_name
protectedinherited

The function name. May be an operator symbol or just a regular name like ST_Intersects.

Definition at line 117 of file Function.h.


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