public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: base.Parse(propIndex, value, nestedIndex); return; case 8: _constructionType = (IfcWindowStyleConstructionEnum)System.Enum.Parse(typeof(IfcWindowStyleConstructionEnum), value.EnumVal, true); return; case 9: _operationType = (IfcWindowStyleOperationEnum)System.Enum.Parse(typeof(IfcWindowStyleOperationEnum), value.EnumVal, true); return; case 10: _parameterTakesPrecedence = value.BooleanVal; return; case 11: _sizeable = value.BooleanVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
/// <summary> /// Construct a IfcWindowStyle with all required attributes. /// </summary> public IfcWindowStyle(IfcGloballyUniqueId globalId, IfcWindowStyleConstructionEnum constructionType, IfcWindowStyleOperationEnum operationType, IfcBoolean parameterTakesPrecedence, IfcBoolean sizeable) : base(globalId) { ConstructionType = constructionType; OperationType = operationType; ParameterTakesPrecedence = parameterTakesPrecedence; Sizeable = sizeable; }
public IfcWindowStyle(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcIdentifier applicableOccurrence, List <IfcPropertySetDefinition> hasPropertySets, List <IfcRepresentationMap> representationMaps, IfcLabel tag, IfcWindowStyleConstructionEnum constructionType, IfcWindowStyleOperationEnum operationType, IfcBoolean parameterTakesPrecedence, IfcBoolean sizeable) : base(globalId, ownerHistory, name, description, applicableOccurrence, hasPropertySets, representationMaps, tag) { ConstructionType = constructionType; OperationType = operationType; ParameterTakesPrecedence = parameterTakesPrecedence; Sizeable = sizeable; }
public IfcWindowStyle(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ApplicableOccurrence, IfcPropertySetDefinition[] __HasPropertySets, IfcRepresentationMap[] __RepresentationMaps, IfcLabel?__Tag, IfcWindowStyleConstructionEnum __ConstructionType, IfcWindowStyleOperationEnum __OperationType, Boolean __ParameterTakesPrecedence, Boolean __Sizeable) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ApplicableOccurrence, __HasPropertySets, __RepresentationMaps, __Tag) { this._ConstructionType = __ConstructionType; this._OperationType = __OperationType; this._ParameterTakesPrecedence = __ParameterTakesPrecedence; this._Sizeable = __Sizeable; }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: base.IfcParse(propIndex, value); break; case 8: _constructionType = (IfcWindowStyleConstructionEnum) Enum.Parse(typeof(IfcWindowStyleConstructionEnum), value.EnumVal, true); break; case 9: _operationType = (IfcWindowStyleOperationEnum) Enum.Parse(typeof(IfcWindowStyleOperationEnum), value.EnumVal, true); break; case 10: _parameterTakesPrecedence = value.BooleanVal; break; case 11: _sizeable = value.BooleanVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
internal IfcWindowStyle(DatabaseIfc db, IfcWindowStyle s) : base(db, s) { mConstructionType = s.mConstructionType; mOperationType = s.mOperationType; mParameterTakesPrecedence = s.mParameterTakesPrecedence; mSizeable = s.mSizeable; }
internal IfcWindowStyle(DatabaseIfc db, IfcWindowStyle s) : base(db,s) { mConstructionType = s.mConstructionType; mOperationType = s.mOperationType; mParameterTakesPrecedence = s.mParameterTakesPrecedence; mSizeable = s.mSizeable; }
internal IfcWindowStyle(IfcWindowStyle el) : base(el) { mConstructionType = el.mConstructionType; mOperationType = el.mOperationType; mParameterTakesPrecedence = el.mParameterTakesPrecedence; mSizeable = el.mSizeable; }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: base.IfcParse(propIndex, value); break; case 8: _constructionType = (IfcWindowStyleConstructionEnum) Enum.Parse(typeof (IfcWindowStyleConstructionEnum), value.EnumVal, true); break; case 9: _operationType = (IfcWindowStyleOperationEnum) Enum.Parse(typeof (IfcWindowStyleOperationEnum), value.EnumVal, true); break; case 10: _parameterTakesPrecedence = value.BooleanVal; break; case 11: _sizeable = value.BooleanVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
internal IfcWindowStyle(DatabaseIfc db, IfcWindowStyle s, IfcOwnerHistory ownerHistory, bool downStream) : base(db, s, ownerHistory, downStream) { mConstructionType = s.mConstructionType; mOperationType = s.mOperationType; mParameterTakesPrecedence = s.mParameterTakesPrecedence; mSizeable = s.mSizeable; }