public LogicalOperatorEnumerator(LogicalType par) { parent = par; nIndex = -1; }
public RHSLogicalExpressionEnumerator(LogicalType par) { parent = par; nIndex = -1; }
public void InsertLogicalAt(LogicalType newValue, int index) { InsertDomElementAt("", "Logical", index, newValue); }
public void ReplaceLogicalAt(LogicalType newValue, int index) { ReplaceDomElementAt("", "Logical", index, newValue); }
public void AddLogical(LogicalType newValue) { AppendDomElement("", "Logical", newValue); }
public LogicalExpression MakeLogical(string op, LogicalExpression lhs, LogicalExpression rhs) { LogicalOperator logicalOp = new LogicalOperator(); if (op == "And") logicalOp.AddAnd(new Altova.Types.SchemaString("And")); else logicalOp.AddOr(new Altova.Types.SchemaString("Or")); LogicalType newLogicalExpression = new LogicalType(); newLogicalExpression.AddLHSLogicalExpression(lhs); newLogicalExpression.AddLogicalOperator(logicalOp); newLogicalExpression.AddRHSLogicalExpression(rhs); LogicalExpression newLogical = new LogicalExpression(); newLogical.AddLogical(newLogicalExpression); return newLogical; }