REFERENCE MANUAL
A Condition is a string or collection of strings separated by logical operators. More...
Public Member Functions | |
HPS.Condition | AND (HPS.Condition in_operand2) |
An AND condition is satisfied if both of its operand conditions are satisfied. More... | |
Condition (string in_utf8) | |
This constructor is the most common way to construct a Condition object from a string. More... | |
Condition (HPS.Condition in_that) | |
The copy constructor copies the source condition. More... | |
override void | Dispose () |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.Condition in_that) |
Check if the source object is equivalent to this object. More... | |
override int | GetHashCode () |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. More... | |
HPS.Condition | OR (HPS.Condition 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. More... | |
bool | ShowOperands (out HPS.Condition[] out_operands) |
Retrieves the operands, if any, of this condition object. More... | |
HPS.Condition | XOR (HPS.Condition 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. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object in_that) | |
The move constructor creates an Object by transferring the underlying impl of the rvalue reference to this Object thereby avoiding a copy and allocation. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
HPS.Type | Type () |
This function returns the true type of the underlying object. More... | |
Static Public Member Functions | |
static HPS.Condition | AND (HPS.Condition in_operand1, HPS.Condition in_operand2) |
An AND condition is satisfied if both of its operand conditions are satisfied. More... | |
static HPS.Condition | NOT (HPS.Condition in_operand) |
A NOT condition is satisfied if its operand condition is not satisfied. More... | |
static bool | operator!= (HPS.Condition a, HPS.Condition b) |
static bool | operator== (HPS.Condition a, HPS.Condition b) |
static HPS.Condition | OR (HPS.Condition in_operand1, HPS.Condition in_operand2) |
An OR condition is satisfied if either of its operand conditions are satisfied. More... | |
static HPS.Condition | XOR (HPS.Condition in_operand1, HPS.Condition 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 |
HandleRef | scptr |
A Condition is a string or collection of strings separated by logical operators.
In practice, conditions form a tree with the leaves being strings (the actual Condition) and the interior nodes being logical operators.
HPS.Condition.Condition | ( | string | in_utf8 | ) |
This constructor is the most common way to construct a Condition object from a string.
in_utf8 | The string to use as the condition, assumed to be utf8 encoded. |
HPS.Condition.Condition | ( | HPS.Condition | in_that | ) |
The copy constructor copies the source condition.
in_that | the source to be copied. |
HPS.Condition HPS.Condition.AND | ( | HPS.Condition | in_operand2 | ) |
An AND condition is satisfied if both of its operand conditions are satisfied.
in_operand2 | The condition to AND with this object. |
|
static |
An AND condition is satisfied if both of its operand conditions are satisfied.
in_operand1 | The first condition operand. |
in_operand2 | The second condition operand. |
bool HPS.Condition.Equals | ( | HPS.Condition | in_that | ) |
Check if the source object is equivalent to this object.
in_that | The source object to compare to this object. |
|
static |
A NOT condition is satisfied if its operand condition is not satisfied.
in_operand | The condition operand. |
|
virtual |
This function returns the type the object, as declared.
This does not necessarily give the true type of the underlying object.
Reimplemented from HPS.Object.
HPS.Condition HPS.Condition.OR | ( | HPS.Condition | in_operand2 | ) |
An OR condition is satisfied if either of its operand conditions are satisfied.
in_operand2 | The condition to OR with this object. |
|
static |
An OR condition is satisfied if either of its operand conditions are satisfied.
in_operand1 | The first condition operand. |
in_operand2 | The second condition operand. |
bool HPS.Condition.ShowCondition | ( | out string | out_condition | ) |
Shows the condition string that has been set on this object, if any.
A Condition object cannot have both a condition string and operands simultaneously.
out_condition | The condition string. |
bool HPS.Condition.ShowOperands | ( | out HPS.Condition[] | out_operands | ) |
Retrieves the operands, if any, of this condition object.
A Condition object cannot have both a condition string and operands simultaneously.
out_operands | An array of condition operands. |
HPS.Condition HPS.Condition.XOR | ( | HPS.Condition | in_operand2 | ) |
An XOR condition is satisfied if either operand condition is satisfied, but not both.
in_operand2 | The condition to XOR with this object. |
|
static |
An XOR condition is satisfied if either operand condition is satisfied, but not both.
in_operand1 | The first condition operand. |
in_operand2 | The second condition operand. |