Learn R Programming

ows4R (version 0.3)

Or: Or

Description

Or

Or

Arguments

Value

Object of R6Class for modelling an Or operator

Format

R6Class object.

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryLogicOpType -> Or

Methods

Public methods

Inherited methods


Method new()

Initializes an Or expression

Usage

Or$new(...)

Arguments

...

list of objects of class OGCExpression


Method clone()

The objects of this class are cloneable with this method.

Usage

Or$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")
  or <- Or$new(expr1,expr2)
  or_xml <- or$encode() #see how it looks like in XML

Run the code above in your browser using DataLab