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: _longName = value.StringVal; break; case 8: _compositionType = (IfcElementCompositionEnum?)Enum.Parse(typeof(IfcElementCompositionEnum), value.EnumVal, true); break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
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: _compositionType = (IfcElementCompositionEnum)System.Enum.Parse(typeof(IfcElementCompositionEnum), value.EnumVal, true); 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: case 7: base.IfcParse(propIndex, value); break; case 8: CompositionType = (IfcElementCompositionEnum?) Enum.Parse(typeof (IfcElementCompositionEnum), value.EnumVal, true); break; default: this.HandleUnexpectedAttribute(propIndex, value); break; } }
protected IfcSpatialStructureElement(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcLabel?__LongName, IfcElementCompositionEnum?__CompositionType) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __LongName) { this.CompositionType = __CompositionType; }
public IfcSpace(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcLabel?__LongName, IfcElementCompositionEnum?__CompositionType, IfcSpaceTypeEnum?__PredefinedType, IfcLengthMeasure?__ElevationWithFlooring) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __LongName, __CompositionType) { this._PredefinedType = __PredefinedType; this._ElevationWithFlooring = __ElevationWithFlooring; }
public IfcBuildingStorey(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcLabel?__LongName, IfcElementCompositionEnum?__CompositionType, IfcLengthMeasure?__Elevation) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __LongName, __CompositionType) { this.Elevation = __Elevation; }
public IfcSite(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcLabel?__LongName, IfcElementCompositionEnum?__CompositionType, IfcCompoundPlaneAngleMeasure?__RefLatitude, IfcCompoundPlaneAngleMeasure?__RefLongitude, IfcLengthMeasure?__RefElevation, IfcLabel?__LandTitleNumber, IfcPostalAddress __SiteAddress) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __LongName, __CompositionType) { this.RefLatitude = __RefLatitude; this.RefLongitude = __RefLongitude; this.RefElevation = __RefElevation; this.LandTitleNumber = __LandTitleNumber; this.SiteAddress = __SiteAddress; }
public IfcBuilding(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcLabel?__LongName, IfcElementCompositionEnum?__CompositionType, IfcLengthMeasure?__ElevationOfRefHeight, IfcLengthMeasure?__ElevationOfTerrain, IfcPostalAddress __BuildingAddress) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __LongName, __CompositionType) { this._ElevationOfRefHeight = __ElevationOfRefHeight; this._ElevationOfTerrain = __ElevationOfTerrain; this._BuildingAddress = __BuildingAddress; }
public IfcBuildingElementProxy(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcIdentifier?__Tag, IfcElementCompositionEnum?__CompositionType) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __Tag) { this._CompositionType = __CompositionType; }
public IfcSpace(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcLabel?__ObjectType, IfcObjectPlacement __ObjectPlacement, IfcProductRepresentation __Representation, IfcLabel?__LongName, IfcElementCompositionEnum?__CompositionType, IfcSpaceTypeEnum?__PredefinedType, IfcLengthMeasure?__ElevationWithFlooring) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ObjectType, __ObjectPlacement, __Representation, __LongName, __CompositionType) { this.PredefinedType = __PredefinedType; this.ElevationWithFlooring = __ElevationWithFlooring; this.HasCoverings = new HashSet <IfcRelCoversSpaces>(); this.BoundedBy = new HashSet <IfcRelSpaceBoundary>(); }