Click or drag to resize

QueryCondition Class

QueryCondition objects are specialized ReadCondition objects that allow the application to also specify a filter on the locally available data.
Inheritance Hierarchy

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.4.1.0
Syntax
public class QueryCondition : ReadCondition

The QueryCondition type exposes the following members.

Properties
  NameDescription
Public propertyDataReader
Gets the DataReader associated with the ReadCondition.
(Inherited from ReadCondition.)
Public propertyInstanceStateMask
Gets the set of instance-states that are taken into account to determine the trigger value of the ReadCondition. These are the instance-states specified when the ReadCondition was created.
(Inherited from ReadCondition.)
Public propertyQueryExpression
Gets the queryexpression associated with the QueryCondition. That is, the expression specified when the QueryCondition was created.
Public propertySampleStateMask
Gets the set of sample-states that are taken into account to determine the trigger value of the ReadCondition. These are the sample-states specified when the ReadCondition was created.
(Inherited from ReadCondition.)
Public propertyTriggerValue
Gets the trigger value of the Condition
(Inherited from Condition.)
Public propertyViewStateMask
Gets the set of view-states that are taken into account to determine the trigger value of the ReadCondition. These are the view-states specified when the ReadCondition was created.
(Inherited from ReadCondition.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetQueryParameters
Gets the query parameters associated with the QueryCondition. That is, the parameters specified on the last successful call to SetQueryParameters(String), or if SetQueryParameters(String) was never called, the arguments specified when the QueryCondition was created.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetQueryParameters
Changes the query parameters associated with the QueryCondition.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
The query is similar to an SQL WHERE clause and can be parameterized by arguments that are dynamically changeable by the SetQueryParameters(String) operation.
See Also