LuciadCPillar C# 2023.1.04
Luciad.Expressions.ExpressionFactory Class Reference

Class containing static factory methods to create different types of expressions and conditions. More...

Static Public Member Functions

static Luciad.Expressions.Expression AndOp (System.Collections.Generic.IList< Luciad.Expressions.Expression > conditions)
 Creates a new and condition that evaluates to true if all of the conditions in conditions are true. More...
 
static Luciad.Expressions.Expression Bbox (Luciad.Expressions.Expression expression)
 
static Luciad.Expressions.Expression Bbox (Luciad.Expressions.Expression left, Luciad.Expressions.Expression right)
 
static Luciad.Expressions.Expression Equal (Luciad.Expressions.Expression left, Luciad.Expressions.Expression right)
 Creates a condition that evaluates to true when left is equal to right. More...
 
static Luciad.Expressions.Expression Gt (Luciad.Expressions.Expression left, Luciad.Expressions.Expression right)
 Creates a condition that evaluates to true when left is greater than right. More...
 
static Luciad.Expressions.Expression Gte (Luciad.Expressions.Expression left, Luciad.Expressions.Expression right)
 Creates a condition that evaluates to true when left is greater than or equal to right. More...
 
static Luciad.Expressions.Expression Like (string propertyPath, string pattern, bool matchCase)
 Creates a like expression using a value reference (property name) based on a simple xpath expression and a pattern. More...
 
static Luciad.Expressions.Expression Like (string propertyPath, string pattern, bool matchCase, char wildCard, char singleChar, char escapeChar)
 Creates a like expression using a value reference (property name) based on a simple xpath expression and a pattern. More...
 
static Luciad.Expressions.Expression Literal (Luciad.Expressions.ExpressionValue value)
 Creates a literal for the ExpressionValue value. More...
 
static Luciad.Expressions.Expression Lt (Luciad.Expressions.Expression left, Luciad.Expressions.Expression right)
 Creates a condition that evaluates to true when left is less than right. More...
 
static Luciad.Expressions.Expression Lte (Luciad.Expressions.Expression left, Luciad.Expressions.Expression right)
 Creates a condition that evaluates to true when left is less than or equal to right. More...
 
static Luciad.Expressions.Expression NotEqual (Luciad.Expressions.Expression left, Luciad.Expressions.Expression right)
 Creates a condition that evaluates to true when left is not equal to right. More...
 
static Luciad.Expressions.Expression NotOp (Luciad.Expressions.Expression condition)
 Creates a condition that evaluates to true when the given condition is false and vice versa. More...
 
static Luciad.Expressions.Expression OrOp (System.Collections.Generic.IList< Luciad.Expressions.Expression > conditions)
 Creates a new or condition that evaluates to true if one of the conditions in conditions is true. More...
 
static Luciad.Expressions.Expression ValueReference (string propertyPath)
 Creates a value reference (property name) based on a simple xpath expression. More...
 

Detailed Description

Class containing static factory methods to create different types of expressions and conditions.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory.

Member Function Documentation

◆ AndOp()

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.AndOp ( System.Collections.Generic.IList< Luciad.Expressions.Expression conditions)
inlinestatic

Creates a new and condition that evaluates to true if all of the conditions in conditions are true.

conditions

Two or more conditions.

the and operator.

luciad::LogicException

when there are less than 2 conditions.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::andOp.

◆ Bbox() [1/2]

static Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.Bbox ( Luciad.Expressions.Expression  expression)
inlinestatic

◆ Bbox() [2/2]

static Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.Bbox ( Luciad.Expressions.Expression  left,
Luciad.Expressions.Expression  right 
)
inlinestatic

◆ Equal()

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.Equal ( Luciad.Expressions.Expression  left,
Luciad.Expressions.Expression  right 
)
inlinestatic

Creates a condition that evaluates to true when left is equal to right.

left

Left expression.

right

Right expression.

the equals operator.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::equal.

◆ Gt()

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.Gt ( Luciad.Expressions.Expression  left,
Luciad.Expressions.Expression  right 
)
inlinestatic

Creates a condition that evaluates to true when left is greater than right.

left

Left expression.

right

Right expression.

the greater than operator.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::gt.

◆ Gte()

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.Gte ( Luciad.Expressions.Expression  left,
Luciad.Expressions.Expression  right 
)
inlinestatic

Creates a condition that evaluates to true when left is greater than or equal to right.

left

Left expression.

right

Right expression.

the greater than or equal to operator.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::gte.

◆ Like() [1/2]

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.Like ( string  propertyPath,
string  pattern,
bool  matchCase 
)
inlinestatic

Creates a like expression using a value reference (property name) based on a simple xpath expression and a pattern.

Nested properties can be referenced by using the '/' as separator. The pattern uses default values for a wildcard ('*'), a single char ('?') and the escape character ('\').

propertyPath

Path for the property whose value needs to be retrieved.

pattern

The pattern to match.

matchCase

Whether to match case sensitive or case insensitive.

the like expression.

2023.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::like.

◆ Like() [2/2]

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.Like ( string  propertyPath,
string  pattern,
bool  matchCase,
char  wildCard,
char  singleChar,
char  escapeChar 
)
inlinestatic

Creates a like expression using a value reference (property name) based on a simple xpath expression and a pattern.

Nested properties can be referenced by using the '/' as separator.

propertyPath

Path for the property whose value needs to be retrieved.

pattern

The pattern to match.

matchCase

Whether to match case sensitive or case insensitive.

wildCard

The character used as wild card to match zero or more characters.

singleChar

The character used as single character to match exactly one character.

escapeChar

The character used to escape the meaning of the wildCard, singleChar and escapeChar itself.

the like expression.

2023.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::like.

◆ Literal()

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.Literal ( Luciad.Expressions.ExpressionValue  value)
inlinestatic

Creates a literal for the ExpressionValue value.

value

The expression value.

the literal expression.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::literal.

◆ Lt()

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.Lt ( Luciad.Expressions.Expression  left,
Luciad.Expressions.Expression  right 
)
inlinestatic

Creates a condition that evaluates to true when left is less than right.

left

Left expression.

right

Right expression.

the less than operator.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::lt.

◆ Lte()

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.Lte ( Luciad.Expressions.Expression  left,
Luciad.Expressions.Expression  right 
)
inlinestatic

Creates a condition that evaluates to true when left is less than or equal to right.

left

Left expression.

right

Right expression.

the less than or equal to operator.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::lte.

◆ NotEqual()

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.NotEqual ( Luciad.Expressions.Expression  left,
Luciad.Expressions.Expression  right 
)
inlinestatic

Creates a condition that evaluates to true when left is not equal to right.

left

Left expression.

right

Right expression.

the not equals operator.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::notEqual.

◆ NotOp()

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.NotOp ( Luciad.Expressions.Expression  condition)
inlinestatic

Creates a condition that evaluates to true when the given condition is false and vice versa.

condition

Condition to invert.

the condition that is the inverse of the given condition

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::notOp.

◆ OrOp()

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.OrOp ( System.Collections.Generic.IList< Luciad.Expressions.Expression conditions)
inlinestatic

Creates a new or condition that evaluates to true if one of the conditions in conditions is true.

conditions

Two or more conditions.

the or operator.

luciad::LogicException

when there are less than 2 conditions.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::orOp.

◆ ValueReference()

Luciad.Expressions.Expression Luciad.Expressions.ExpressionFactory.ValueReference ( string  propertyPath)
inlinestatic

Creates a value reference (property name) based on a simple xpath expression.

Nested properties can be referenced by using the '/' as separator.

propertyPath

Path for the property whose value needs to be retrieved.

the value reference expression.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::ExpressionFactory::valueReference.