public OrEnumerator(LogicalOperator par) { parent = par; nIndex = -1; }
public void InsertLogicalOperatorAt(LogicalOperator newValue, int index) { InsertDomElementAt("", "LogicalOperator", index, newValue); }
public void ReplaceLogicalOperatorAt(LogicalOperator newValue, int index) { ReplaceDomElementAt("", "LogicalOperator", index, newValue); }
public void AddLogicalOperator(LogicalOperator newValue) { AppendDomElement("", "LogicalOperator", 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; }