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: base.Parse(propIndex, value, nestedIndex); return; case 7: _predefinedType = (IfcStructuralSurfaceTypeEnum)System.Enum.Parse(typeof(IfcStructuralSurfaceTypeEnum), value.EnumVal, true); return; case 8: _thickness = value.RealVal; 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: case 1: case 2: case 3: case 4: case 5: case 6: base.IfcParse(propIndex, value); break; case 7: _predefinedType = (IfcStructuralSurfaceTypeEnum) Enum.Parse(typeof(IfcStructuralSurfaceTypeEnum), value.EnumVal, true); break; case 8: _thickness = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public override void IfcParse(int propIndex, IPropertyValue value) { switch (propIndex) { case 0: case 1: case 2: case 3: case 4: case 5: case 6: base.IfcParse(propIndex, value); break; case 7: _predefinedType = (IfcStructuralSurfaceTypeEnum) Enum.Parse(typeof (IfcStructuralSurfaceTypeEnum), value.EnumVal, true); break; case 8: _thickness = value.RealVal; break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
public IfcStructuralSurfaceMemberVarying(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcStructuralSurfaceTypeEnum __PredefinedType, IfcPositiveLengthMeasure?__Thickness, IfcPositiveLengthMeasure[] __SubsequentThickness, IfcShapeAspect __VaryingThicknessLocation) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __PredefinedType, __Thickness) { this._SubsequentThickness = new List <IfcPositiveLengthMeasure>(__SubsequentThickness); this._VaryingThicknessLocation = __VaryingThicknessLocation; }
public IfcStructuralSurfaceMember(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcStructuralSurfaceTypeEnum __PredefinedType, IfcPositiveLengthMeasure?__Thickness) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation) { this._PredefinedType = __PredefinedType; this._Thickness = __Thickness; }
internal IfcStructuralSurfaceMember(IfcStructuralSurfaceMember p) : base(p) { mPredefinedType = p.mPredefinedType; mThickness = p.mThickness; }