IConditionFactory2 interface (structuredquery.h)

Extends the functionality of IConditionFactory. IConditionFactory2 provides methods for creating or resolving a condition tree that was obtained by parsing a query string.

Inheritance

The IConditionFactory2 interface inherits from IConditionFactory. IConditionFactory2 also has these types of members:

Methods

The IConditionFactory2 interface has these methods.

 
IConditionFactory2::CreateBooleanLeaf

Creates a search condition that is either TRUE or FALSE. (IConditionFactory2.CreateBooleanLeaf)
IConditionFactory2::CreateCompoundFromArray

Creates a leaf condition node that is a conjunction (AND) or a disjunction (OR) from an array of condition nodes. The returned object supports ICondition and ICondition2.
IConditionFactory2::CreateCompoundFromObjectArray

Creates a leaf condition node that is a conjunction (AND) or a disjunction (OR) of a collection of subconditions. The returned object supports ICondition and ICondition2.
IConditionFactory2::CreateIntegerLeaf

Creates a leaf condition node for an integer value. The returned object supports ICondition and ICondition2.
IConditionFactory2::CreateLeaf

Creates a leaf condition node for any value. The returned object supports ICondition and ICondition2.
IConditionFactory2::CreateNegation

Creates a condition node that is a logical negation (NOT) of another condition (a subnode of this node). (IConditionFactory2.CreateNegation)
IConditionFactory2::CreateStringLeaf

Creates a leaf condition node for a string value that represents a comparison of property value and constant value. The returned object supports ICondition and ICondition2.
IConditionFactory2::CreateTrueFalse

Creates a search condition that is either TRUE or FALSE. (IConditionFactory2.CreateTrueFalse)
IConditionFactory2::ResolveCondition

Performs a variety of transformations on a condition tree, and thereby the resolved condition for evaluation. The returned object supports ICondition and ICondition2.

Remarks

The StructuredQuerySample demonstrates how to read lines from the console, parse them using the system schema, and display the resulting condition trees.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header structuredquery.h

See also

CONDITION_CREATION_OPTIONS

CONDITION_OPERATION

CONDITION_TYPE

ICondition

ICondition2

IConditionFactory

Reference