Learn R Programming

ows4R (version 0.4)

And: And

Description

And

And

Arguments

Value

Object of R6Class for modelling an And operator

Format

R6Class object.

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryLogicOpType -> And

Methods

Public methods

Inherited methods


Method new()

Initializes an And expression

Usage

And$new(...)

Arguments

...

list of objects of class OGCExpression


Method clone()

The objects of this class are cloneable with this method.

Usage

And$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

Run this code
  expr1 <- PropertyIsEqualTo$new(PropertyName = "property1", Literal = "value1")
  expr2 <- PropertyIsEqualTo$new(PropertyName = "property2", Literal = "value2")
  and <- And$new(expr1,expr2)
  and_xml <- and$encode() #see how it looks like in XML

Run the code above in your browser using DataLab