public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _operator = (IfcBooleanOperator) System.Enum.Parse(typeof (IfcBooleanOperator), value.EnumVal, true); return; case 1: _firstOperand = (IfcBooleanOperand)(value.EntityVal); return; case 2: _secondOperand = (IfcBooleanOperand)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _operator = (IfcBooleanOperator)Enum.Parse(typeof(IfcBooleanOperator), value.EnumVal, true); break; case 1: _firstOperand = (IfcBooleanOperand)value.EntityVal; break; case 2: _secondOperand = (IfcBooleanOperand)value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public IfcBooleanResult(IfcBooleanOperator op, IfcBooleanOperand first, IfcBooleanOperand second) : base(first.Database) { mOperator = op; mFirstOperand = first.Index; mSecondOperand = second.Index; }
internal IfcBooleanResult(DatabaseIfc db, IfcBooleanResult b) : base(db, b) { mOperator = b.mOperator; FirstOperand = db.Factory.Duplicate(b.mDatabase[b.mFirstOperand]) as IfcBooleanOperand; SecondOperand = db.Factory.Duplicate(b.mDatabase[b.mSecondOperand]) as IfcBooleanOperand; }
public IfcBooleanResult(IfcBooleanOperator __Operator, IfcBooleanOperand __FirstOperand, IfcBooleanOperand __SecondOperand) { this._Operator = __Operator; this._FirstOperand = __FirstOperand; this._SecondOperand = __SecondOperand; }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: _operator = (IfcBooleanOperator) Enum.Parse(typeof (IfcBooleanOperator), value.EnumVal, true); break; case 1: _firstOperand = (IfcBooleanOperand) value.EntityVal; break; case 2: _secondOperand = (IfcBooleanOperand) value.EntityVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
internal IfcBooleanResult(DatabaseIfc db, IfcBooleanResult b, DuplicateOptions options) : base(db, b, options) { mOperator = b.mOperator; FirstOperand = db.Factory.Duplicate(b.FirstOperand) as IfcBooleanOperand; SecondOperand = db.Factory.Duplicate(b.SecondOperand) as IfcBooleanOperand; }
public IfcBooleanClippingResult(IfcBooleanOperator op, IfcBooleanOperand firstOperand, IfcBooleanOperand secondOperand) : base(op, firstOperand, secondOperand) { }
public IfcBooleanClippingResult(IfcBooleanOperator __Operator, IfcBooleanOperand __FirstOperand, IfcBooleanOperand __SecondOperand) : base(__Operator, __FirstOperand, __SecondOperand) { }
public IfcBooleanResult(IfcBooleanOperator op, IfcBooleanOperand firstOperand, IfcBooleanOperand secondOperand) : base() { Operator = op; FirstOperand = firstOperand; SecondOperand = secondOperand; }
internal IfcBooleanResult(IfcBooleanResult b) : base(b) { mOperator = b.mOperator; mFirstOperand = b.mFirstOperand; mSecondOperand = b.mSecondOperand; }
internal IfcBooleanResult(DatabaseIfc db, IfcBooleanResult b) : base(db,b) { mOperator = b.mOperator; FirstOperand = db.Factory.Duplicate(b.mDatabase[ b.mFirstOperand]) as IfcBooleanOperand; SecondOperand = db.Factory.Duplicate(b.mDatabase[b.mSecondOperand]) as IfcBooleanOperand; }