public IfcWindowType(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcIdentifier applicableOccurrence, List <IfcPropertySetDefinition> hasPropertySets, List <IfcRepresentationMap> representationMaps, IfcLabel tag, IfcLabel elementType, IfcWindowTypeEnum predefinedType, IfcWindowTypePartitioningEnum partitioningType, IfcBoolean parameterTakesPrecedence, IfcLabel userDefinedPartitioningType) : base(globalId, ownerHistory, name, description, applicableOccurrence, hasPropertySets, representationMaps, tag, elementType) { PredefinedType = predefinedType; PartitioningType = partitioningType; ParameterTakesPrecedence = parameterTakesPrecedence; UserDefinedPartitioningType = userDefinedPartitioningType; }
public IfcWindow(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcIdentifier tag, IfcPositiveLengthMeasure overallHeight, IfcPositiveLengthMeasure overallWidth, IfcWindowTypeEnum predefinedType, IfcWindowTypePartitioningEnum partitioningType, IfcLabel userDefinedPartitioningType) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation, tag) { OverallHeight = overallHeight; OverallWidth = overallWidth; PredefinedType = predefinedType; PartitioningType = partitioningType; UserDefinedPartitioningType = userDefinedPartitioningType; }
public IfcWindowType(IfcGloballyUniqueId __GlobalId, IfcOwnerHistory __OwnerHistory, IfcLabel?__Name, IfcText?__Description, IfcIdentifier?__ApplicableOccurrence, IfcPropertySetDefinition[] __HasPropertySets, IfcRepresentationMap[] __RepresentationMaps, IfcLabel?__Tag, IfcLabel?__ElementType, IfcWindowTypeEnum __PredefinedType, IfcWindowTypePartitioningEnum __PartitioningType, IfcBoolean?__ParameterTakesPrecedence, IfcLabel?__UserDefinedPartitioningType) : base(__GlobalId, __OwnerHistory, __Name, __Description, __ApplicableOccurrence, __HasPropertySets, __RepresentationMaps, __Tag, __ElementType) { this._PredefinedType = __PredefinedType; this._PartitioningType = __PartitioningType; this._ParameterTakesPrecedence = __ParameterTakesPrecedence; this._UserDefinedPartitioningType = __UserDefinedPartitioningType; }
internal IfcWindowType(DatabaseIfc m, string name, IfcWindowTypeEnum type, IfcWindowTypePartitioningEnum partition, string userDefinedPartionType, IfcWindowLiningProperties wlp, List <IfcWindowPanelProperties> pps) : base(m) { Name = name; mPredefinedType = type; mPartitioningType = partition; mParameterTakesPrecedence = true; if (wlp != null) { mHasPropertySets.Add(wlp.mIndex); } if (pps != null && pps.Count > 0) { mHasPropertySets.AddRange(pps.ConvertAll(x => x.mIndex)); } if (!string.IsNullOrEmpty(userDefinedPartionType)) { mUserDefinedPartitioningType = userDefinedPartionType.Replace("'", ""); } }
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: case 8: base.Parse(propIndex, value, nestedIndex); return; case 9: _predefinedType = (IfcWindowTypeEnum)System.Enum.Parse(typeof(IfcWindowTypeEnum), value.EnumVal, true); return; case 10: _partitioningType = (IfcWindowTypePartitioningEnum)System.Enum.Parse(typeof(IfcWindowTypePartitioningEnum), value.EnumVal, true); return; case 11: _parameterTakesPrecedence = value.BooleanVal; return; case 12: _userDefinedPartitioningType = value.StringVal; return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }
internal IfcWindowType(DatabaseIfc db, IfcWindowType t) : base(db, t) { mPredefinedType = t.mPredefinedType; mPartitioningType = t.mPartitioningType; mParameterTakesPrecedence = t.mParameterTakesPrecedence; mUserDefinedPartitioningType = t.mUserDefinedPartitioningType; }
internal IfcWindow(DatabaseIfc db, IfcWindow w, bool downStream) : base(db, w, downStream) { mOverallHeight = w.mOverallHeight; mOverallWidth = w.mOverallWidth; mPredefinedType = w.mPredefinedType; mPartitioningType = w.mPartitioningType; mUserDefinedPartitioningType = w.mUserDefinedPartitioningType; }
internal IfcWindowType(DatabaseIfc m, string name, IfcWindowTypeEnum type, IfcWindowTypePartitioningEnum partition, string userDefinedPartionType, IfcWindowLiningProperties wlp, List<IfcWindowPanelProperties> pps) : base(m) { Name = name; mPredefinedType = type; mPartitioningType = partition; mParameterTakesPrecedence = true; if (wlp != null) mHasPropertySets.Add(wlp.mIndex); if (pps != null && pps.Count > 0) mHasPropertySets.AddRange(pps.ConvertAll(x => x.mIndex)); if (!string.IsNullOrEmpty(userDefinedPartionType)) mUserDefinedPartitioningType = userDefinedPartionType.Replace("'", ""); }
internal IfcWindowType(DatabaseIfc m, string name, IfcWindowTypeEnum type, IfcWindowTypePartitioningEnum partition, bool parameterTakesPrecendence) : base(m) { Name = name; mPredefinedType = type; mPartitioningType = partition; mParameterTakesPrecedence = parameterTakesPrecendence; }
internal IfcWindowType(DatabaseIfc db, IfcWindowType t) : base(db,t) { mPredefinedType = t.mPredefinedType; mPartitioningType = t.mPartitioningType; mParameterTakesPrecedence = t.mParameterTakesPrecedence; mUserDefinedPartitioningType = t.mUserDefinedPartitioningType; }
internal IfcWindow(DatabaseIfc db, IfcWindow w) : base(db, w) { mOverallHeight = w.mOverallHeight; mOverallWidth = w.mOverallWidth; mPredefinedType = w.mPredefinedType; mPartitioningType = w.mPartitioningType; mUserDefinedPartitioningType = w.mUserDefinedPartitioningType; }
internal IfcWindowType(DatabaseIfc db, IfcWindowType t, IfcOwnerHistory ownerHistory, bool downStream) : base(db, t, ownerHistory, downStream) { mPredefinedType = t.mPredefinedType; mPartitioningType = t.mPartitioningType; mParameterTakesPrecedence = t.mParameterTakesPrecedence; mUserDefinedPartitioningType = t.mUserDefinedPartitioningType; }
internal IfcWindow(DatabaseIfc db, IfcWindow w, DuplicateOptions options) : base(db, w, options) { mOverallHeight = w.mOverallHeight; mOverallWidth = w.mOverallWidth; mPredefinedType = w.mPredefinedType; mPartitioningType = w.mPartitioningType; mUserDefinedPartitioningType = w.mUserDefinedPartitioningType; }
internal IfcWindow(IfcWindow o) : base(o) { mOverallHeight = o.mOverallHeight; mOverallWidth = o.mOverallWidth; mPredefinedType = o.mPredefinedType; mPartitioningType = o.mPartitioningType; mUserDefinedPartitioningType = o.mUserDefinedPartitioningType; }
} // optional /// <summary> /// Construct a IfcWindowType with all required attributes. /// </summary> public IfcWindowType(IfcGloballyUniqueId globalId, IfcWindowTypeEnum predefinedType, IfcWindowTypePartitioningEnum partitioningType) : base(globalId) { PredefinedType = predefinedType; PartitioningType = partitioningType; }
internal IfcWindowType(DatabaseIfc db, IfcWindowType t, DuplicateOptions options) : base(db, t, options) { mPredefinedType = t.mPredefinedType; mPartitioningType = t.mPartitioningType; mParameterTakesPrecedence = t.mParameterTakesPrecedence; mUserDefinedPartitioningType = t.mUserDefinedPartitioningType; }