Diffusion Apple API  6.10.3
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
Class Methods | List of all members
PTDiffusionUpdateConstraintOperator Class Reference

Introduction

An operator used in a constraint comparison.

See Also
PTDiffusionUpdateConstraint
Since
6.10
Inheritance diagram for PTDiffusionUpdateConstraintOperator:
PTDiffusionEnumeration

Class Methods

(instancetype) + is
 Strict binary equality. More...
 
(instancetype) + eq
 Lenient equals. More...
 
(instancetype) + ne
 Lenient not equals. More...
 
(instancetype) + gt
 Lenient greater than. More...
 
(instancetype) + ge
 Lenient greater than or equals. More...
 
(instancetype) + lt
 Lenient less than. More...
 
(instancetype) + le
 Lenient less than or equals. More...
 
- Class Methods inherited from PTDiffusionEnumeration
(NSSet< PTDiffusionEnumeration * > *) + elements
 

Additional Inherited Members

- Instance Methods inherited from PTDiffusionEnumeration
(BOOL) - isEqualToEnumeration:
 

Method Documentation

+ (instancetype) eq

Lenient equals.

This operator requires that the topic value is logically equal to the supplied value.

If the supplied value is a string, the string representation of the specified topic value is compared for string equality.

If the supplied value is a number (Long or Double), the corresponding topic value may be a number or a string containing a parseable number and will be compared for numeric equality.

If the supplied value is null, the condition will be satisfied if the value at a specified pointer is JSON null.

Returns
Instance representing the lenient equals operator.
Since
6.10
+ (instancetype) ge

Lenient greater than or equals.

This operator requires that the topic value is greater than or equal to the supplied value.

The supplied value must be a number (Long or Double). The corresponding topic value may be a number or a string containing a parseable number and the condition will be satisfied if the topic value is greater than or equal to the supplied value.

Returns
Instance representing the lenient greater than or equals operator.
Since
6.10
+ (instancetype) gt

Lenient greater than.

This operator requires that the topic value is greater than the supplied value.

The supplied value must be a number (Long or Double). The corresponding topic value may be a number or a string containing a parseable number and the condition will be satisfied if the topic value is greater than the supplied value.

Returns
Instance representing the lenient greater than operator.
Since
6.10
+ (instancetype) is

Strict binary equality.

This operator requires that the binary topic value is exactly equivalent to the value supplied for comparison.

Returns
Instance representing the strict binary equality operator.
Since
6.10
+ (instancetype) le

Lenient less than or equals.

This operator requires that the topic value is less than or equal to the supplied value.

The supplied value must be a number (Long or Double). The corresponding topic value may be a number or a string containing a parseable number and the condition will be satisfied if the topic value is less than or equal to the supplied value.

Returns
Instance representing the lenient less than or equals operator.
Since
6.10
+ (instancetype) lt

Lenient less than.

This operator requires that the topic value is less than the supplied value.

The supplied value must be a number (Long or Double). The corresponding topic value may be a number or a string containing a parseable number and the condition will be satisfied if the topic value is less than the supplied value.

Returns
Instance representing the lenient less than operator.
Since
6.10
+ (instancetype) ne

Lenient not equals.

This operator requires that the topic value is logically not equal to the supplied value.

If the supplied value is a string, the string representation of the specified topic value is compared for string equality.

If the supplied value is a number (Long or Double), the corresponding topic value may be a number or a string containing a parseable number and will be compared for numeric equality.

If the supplied value is null, the condition will be satisfied if the value at a specified pointer is JSON null.

Returns
Instance representing the lenient not equals operator.
Since
6.10