A ConditionalExpression is a string or collection of strings separated by logical operators. In practice, conditional expressions form a tree with the leaves being strings (the actual Conditions that must be satisfied) and the interior nodes being logical operators. More...

Public Member Functions | |
HPS.ConditionalExpression | AND (HPS.ConditionalExpression in_operand2) |
An AND condition is satisfied if both of its operand conditions are satisfied. More... | |
ConditionalExpression (string in_condition) | |
This constructor is the way to construct a ConditionalExpression object from a string. More... | |
ConditionalExpression (float in_number) | |
This constructor is the way to construct a ConditionalExpression object from a number. More... | |
ConditionalExpression (HPS.Condition.Intrinsic in_special) | |
This constructor is the way to construct a ConditionalExpression object from a special intrinsic type. More... | |
ConditionalExpression (HPS.ConditionalExpression in_that) | |
The copy constructor copies the source condition. More... | |
override void | Dispose () |
HPS.ConditionalExpression | EQ (HPS.ConditionalExpression in_operand2) |
An EQ conditional expression is satisfied if its operand expressions are equal. More... | |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.ConditionalExpression in_that) |
Check if the source object is equivalent to this object. More... | |
override int | GetHashCode () |
HPS.ConditionalExpression | GT (HPS.ConditionalExpression in_operand2) |
An GT conditional expression is satisfied if its second operand is greater than the first operand. More... | |
HPS.ConditionalExpression | GTEQ (HPS.ConditionalExpression in_operand2) |
An GTEQ conditional expression is satisfied if its second operand is greater than or equal to the first operand. More... | |
bool | IsSatisfiedBy (string[] in_conditions) |
Determines if the source ConditionalExpression object is satisfied by the given conditions. More... | |
bool | IsSatisfiedBy (string in_condition) |
Determines if the source ConditionalExpression object is satisfied by the given condition. More... | |
HPS.ConditionalExpression | LT (HPS.ConditionalExpression in_operand2) |
An LT conditional expression is satisfied if its second operand is less than the first operand. More... | |
HPS.ConditionalExpression | LTEQ (HPS.ConditionalExpression in_operand2) |
An LTEQ conditional expression is satisfied if its second operand is less than or equal to the first operand. More... | |
HPS.ConditionalExpression | NEQ (HPS.ConditionalExpression in_operand2) |
An NEQ conditional expression is satisfied if its operand expressions are not equal. More... | |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More... | |
HPS.ConditionalExpression | OR (HPS.ConditionalExpression in_operand2) |
An OR condition is satisfied if either of its operand conditions are satisfied. More... | |
bool | ShowCondition (out string out_condition) |
Shows the condition string that has been set on this object, if any. A ConditionalExpression object can only have either a number, condition string, intrinsic type, or operands. More... | |
bool | ShowIntrinsic (out HPS.Condition.Intrinsic out_special) |
Shows the intrinsic type that has been set on this object, if any. A ConditionalExpression object can only have either a number, condition string, intrinsic type, or operands. More... | |
bool | ShowNumber (out float out_number) |
Shows the number that has been set on this object, if any. A ConditionalExpression object can only have either a number, condition string, intrinsic type, or operands. More... | |
bool | ShowOperands (out HPS.ConditionalExpression[] out_operands) |
Retrieves the operands, if any, of this condition object. A ConditionalExpression object can only have either a number, condition string, intrinsic type, or operands. More... | |
HPS.ConditionalExpression | XOR (HPS.ConditionalExpression in_operand2) |
An XOR condition is satisfied if either operand condition is satisfied, but not both. More... | |
![]() | |
virtual bool | Empty () |
Indicates whether this object has any values set on it. More... | |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
Returns an identifier that can be used to identify which instance of a class an object is. Different keys and controls will return the same value if they are backed by the same database resource. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object that) | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
virtual HPS.Type | Type () |
This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More... | |
Static Public Member Functions | |
static HPS.ConditionalExpression | AND (HPS.ConditionalExpression in_operand1, HPS.ConditionalExpression in_operand2) |
An AND condition is satisfied if both of its operand conditions are satisfied. More... | |
static HPS.ConditionalExpression | EQ (HPS.ConditionalExpression in_operand1, HPS.ConditionalExpression in_operand2) |
An EQ conditional expression is satisfied if its operand expressions are equal. More... | |
static HPS.ConditionalExpression | GT (HPS.ConditionalExpression in_operand1, HPS.ConditionalExpression in_operand2) |
An GT conditional expression is satisfied if its second operand is greater than the first operand. More... | |
static HPS.ConditionalExpression | GTEQ (HPS.ConditionalExpression in_operand1, HPS.ConditionalExpression in_operand2) |
An GTEQ conditional expression is satisfied if its second operand is greater than or equal to the first operand. More... | |
static HPS.ConditionalExpression | LT (HPS.ConditionalExpression in_operand1, HPS.ConditionalExpression in_operand2) |
An LT conditional expression is satisfied if its second operand is less than the first operand. More... | |
static HPS.ConditionalExpression | LTEQ (HPS.ConditionalExpression in_operand1, HPS.ConditionalExpression in_operand2) |
An LTEQ conditional expression is satisfied if its second operand is less than or equal to the first operand. More... | |
static HPS.ConditionalExpression | NEQ (HPS.ConditionalExpression in_operand1, HPS.ConditionalExpression in_operand2) |
An NEQ conditional expression is satisfied if its operand expressions are not equal. More... | |
static HPS.ConditionalExpression | NOT (HPS.ConditionalExpression in_operand) |
A NOT condition is satisfied if its operand condition is not satisfied. More... | |
static bool | operator!= (HPS.ConditionalExpression a, HPS.ConditionalExpression b) |
static bool | operator== (HPS.ConditionalExpression a, HPS.ConditionalExpression b) |
static HPS.ConditionalExpression | OR (HPS.ConditionalExpression in_operand1, HPS.ConditionalExpression in_operand2) |
An OR condition is satisfied if either of its operand conditions are satisfied. More... | |
static HPS.ConditionalExpression | XOR (HPS.ConditionalExpression in_operand1, HPS.ConditionalExpression in_operand2) |
An XOR condition is satisfied if either operand condition is satisfied, but not both. More... | |
![]() | |
static IntPtr | ClassID< T > () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
Detailed Description
A ConditionalExpression is a string or collection of strings separated by logical operators. In practice, conditional expressions form a tree with the leaves being strings (the actual Conditions that must be satisfied) and the interior nodes being logical operators.
Constructor & Destructor Documentation
|
inline |
This constructor is the way to construct a ConditionalExpression object from a string.
- Parameters
-
in_condition The string to use as the condition, assumed to be utf8 encoded.
|
inline |
This constructor is the way to construct a ConditionalExpression object from a number.
|
inline |
This constructor is the way to construct a ConditionalExpression object from a special intrinsic type.
- Parameters
-
in_special The intrinsic type to use as the condition.
|
inline |
The copy constructor copies the source condition.
- Parameters
-
in_that the source to be copied.
Member Function Documentation
|
inline |
An AND condition is satisfied if both of its operand conditions are satisfied.
- Parameters
-
in_operand2 The condition to AND with this object.
- Returns
- a new condition representing the logical AND of the operand condition with this object.
|
inlinestatic |
An AND condition is satisfied if both of its operand conditions are satisfied.
- Parameters
-
in_operand1 The first condition operand. in_operand2 The second condition operand.
- Returns
- a new condition representing the logical AND of the operand conditions.
|
inline |
An EQ conditional expression is satisfied if its operand expressions are equal.
- Parameters
-
in_operand2 The expression to compare to this object.
- Returns
- a new conditional expression representing the equality comparison of the operand expression with this object.
|
inlinestatic |
An EQ conditional expression is satisfied if its operand expressions are equal.
- Parameters
-
in_operand1 The first condition operand. in_operand2 The second condition operand.
- Returns
- a new conditional expression representing the equality comparison of the operand expressions.
|
inline |
Check if the source object is equivalent to this object.
- Parameters
-
in_that The source object to compare to this object.
- Returns
- true if the objects are equivalent, false otherwise.
|
inline |
An GT conditional expression is satisfied if its second operand is greater than the first operand.
- Parameters
-
in_operand2 The expression to compare to this object.
- Returns
- a new conditional expression representing the greater than comparison of the operand expression with this object.
|
inlinestatic |
An GT conditional expression is satisfied if its second operand is greater than the first operand.
- Parameters
-
in_operand1 The first condition operand. in_operand2 The second condition operand.
- Returns
- a new conditional expression representing the greater than comparison of the operand expressions.
|
inline |
An GTEQ conditional expression is satisfied if its second operand is greater than or equal to the first operand.
- Parameters
-
in_operand2 The expression to compare to this object.
- Returns
- a new conditional expression representing the greater than or equal to comparison of the operand expression with this object.
|
inlinestatic |
An GTEQ conditional expression is satisfied if its second operand is greater than or equal to the first operand.
- Parameters
-
in_operand1 The first condition operand. in_operand2 The second condition operand.
- Returns
- a new conditional expression representing the greater than or equal to comparison of the operands.
|
inline |
Determines if the source ConditionalExpression object is satisfied by the given conditions.
- Parameters
-
in_conditions The conditions to test against the ConditionalExpression object.
- Returns
- true if the ConditionalExpression object is satisfied, false otherwise.
|
inline |
Determines if the source ConditionalExpression object is satisfied by the given condition.
- Parameters
-
in_condition The condition to test against the ConditionalExpression object.
- Returns
- true if the ConditionalExpression object is satisfied, false otherwise.
|
inline |
An LT conditional expression is satisfied if its second operand is less than the first operand.
- Parameters
-
in_operand2 The expression to compare to this object.
- Returns
- a new conditional expression representing the less than comparison of the operand expression with this object.
|
inlinestatic |
An LT conditional expression is satisfied if its second operand is less than the first operand.
- Parameters
-
in_operand1 The first condition operand. in_operand2 The second condition operand.
- Returns
- a new conditional expression representing the less than comparison of the operand expressions.
|
inline |
An LTEQ conditional expression is satisfied if its second operand is less than or equal to the first operand.
- Parameters
-
in_operand2 The expression to compare to this object.
- Returns
- a new conditional expression representing the less than or equal to comparison of the operand expression with this object.
|
inlinestatic |
An LTEQ conditional expression is satisfied if its second operand is less than or equal to the first operand.
- Parameters
-
in_operand1 The first condition operand. in_operand2 The second condition operand.
- Returns
- a new conditional expression representing the less than or equal to comparison of the operand expressions.
|
inline |
An NEQ conditional expression is satisfied if its operand expressions are not equal.
- Parameters
-
in_operand2 The expression to compare to this object.
- Returns
- a new conditional expression representing the non-equality comparison of the operand expression with this object.
|
inlinestatic |
An NEQ conditional expression is satisfied if its operand expressions are not equal.
- Parameters
-
in_operand1 The first condition operand. in_operand2 The second condition operand.
- Returns
- a new conditional expression representing the non-equality comparison of the operand expressions.
|
inlinestatic |
A NOT condition is satisfied if its operand condition is not satisfied.
- Parameters
-
in_operand The condition operand.
- Returns
- a new condition representing the logical negation of the operand.
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Object.
|
inline |
An OR condition is satisfied if either of its operand conditions are satisfied.
- Parameters
-
in_operand2 The condition to OR with this object.
- Returns
- a new condition representing the logical OR of the operand condition with this object.
|
inlinestatic |
An OR condition is satisfied if either of its operand conditions are satisfied.
- Parameters
-
in_operand1 The first condition operand. in_operand2 The second condition operand.
- Returns
- a new condition representing the logical OR of the operand conditions.
|
inline |
Shows the condition string that has been set on this object, if any. A ConditionalExpression object can only have either a number, condition string, intrinsic type, or operands.
- Parameters
-
out_condition The condition string.
- Returns
- true if a condition string has been set, false otherwise.
|
inline |
Shows the intrinsic type that has been set on this object, if any. A ConditionalExpression object can only have either a number, condition string, intrinsic type, or operands.
- Parameters
-
out_special The intrinsic type.
- Returns
- true if an intrinsic type has been set, false otherwise.
|
inline |
Shows the number that has been set on this object, if any. A ConditionalExpression object can only have either a number, condition string, intrinsic type, or operands.
- Parameters
-
out_number The number.
- Returns
- true if a number has been set, false otherwise.
|
inline |
Retrieves the operands, if any, of this condition object. A ConditionalExpression object can only have either a number, condition string, intrinsic type, or operands.
- Parameters
-
out_operands An array of condition operands.
- Returns
- true if operands are set on this object, false otherwise.
|
inline |
An XOR condition is satisfied if either operand condition is satisfied, but not both.
- Parameters
-
in_operand2 The condition to XOR with this object.
- Returns
- a new condition representing the logical XOR of the operand condition with this object.
|
inlinestatic |
An XOR condition is satisfied if either operand condition is satisfied, but not both.
- Parameters
-
in_operand1 The first condition operand. in_operand2 The second condition operand.
- Returns
- a new condition representing the logical XOR of the operand conditions.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.ConditionalExpression.cs