Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
 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("'", "");
     }
 }
Exemplo n.º 5
0
        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()));
            }
        }
Exemplo n.º 6
0
 internal IfcWindowType(DatabaseIfc db, IfcWindowType t) : base(db, t)
 {
     mPredefinedType = t.mPredefinedType; mPartitioningType = t.mPartitioningType; mParameterTakesPrecedence = t.mParameterTakesPrecedence; mUserDefinedPartitioningType = t.mUserDefinedPartitioningType;
 }
Exemplo n.º 7
0
 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;
 }
Exemplo n.º 8
0
 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("'", "");
 }
Exemplo n.º 9
0
 internal IfcWindowType(DatabaseIfc m, string name, IfcWindowTypeEnum type, IfcWindowTypePartitioningEnum partition, bool parameterTakesPrecendence)
     : base(m)
 {
     Name = name; mPredefinedType = type; mPartitioningType = partition; mParameterTakesPrecedence = parameterTakesPrecendence;
 }
Exemplo n.º 10
0
 internal IfcWindowType(DatabaseIfc db, IfcWindowType t)
     : base(db,t)
 {
     mPredefinedType = t.mPredefinedType; mPartitioningType = t.mPartitioningType; mParameterTakesPrecedence = t.mParameterTakesPrecedence; mUserDefinedPartitioningType = t.mUserDefinedPartitioningType;
 }
Exemplo n.º 11
0
 internal IfcWindow(DatabaseIfc db, IfcWindow w)
     : base(db, w)
 {
     mOverallHeight = w.mOverallHeight; mOverallWidth = w.mOverallWidth; mPredefinedType = w.mPredefinedType; mPartitioningType = w.mPartitioningType; mUserDefinedPartitioningType = w.mUserDefinedPartitioningType;
 }
Exemplo n.º 12
0
 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;
 }
Exemplo n.º 13
0
 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;
 }
Exemplo n.º 14
0
 internal IfcWindow(IfcWindow o) : base(o)
 {
     mOverallHeight = o.mOverallHeight; mOverallWidth = o.mOverallWidth; mPredefinedType = o.mPredefinedType; mPartitioningType = o.mPartitioningType; mUserDefinedPartitioningType = o.mUserDefinedPartitioningType;
 }
Exemplo n.º 15
0
        }                                                             // optional


        /// <summary>
        /// Construct a IfcWindowType with all required attributes.
        /// </summary>
        public IfcWindowType(IfcGloballyUniqueId globalId, IfcWindowTypeEnum predefinedType, IfcWindowTypePartitioningEnum partitioningType) : base(globalId)
        {
            PredefinedType   = predefinedType;
            PartitioningType = partitioningType;
        }
Exemplo n.º 16
0
 internal IfcWindowType(DatabaseIfc m, string name, IfcWindowTypeEnum type, IfcWindowTypePartitioningEnum partition, bool parameterTakesPrecendence)
     : base(m)
 {
     Name = name; mPredefinedType = type; mPartitioningType = partition; mParameterTakesPrecedence = parameterTakesPrecendence;
 }
Exemplo n.º 17
0
 internal IfcWindowType(DatabaseIfc db, IfcWindowType t, DuplicateOptions options) : base(db, t, options)
 {
     mPredefinedType = t.mPredefinedType; mPartitioningType = t.mPartitioningType; mParameterTakesPrecedence = t.mParameterTakesPrecedence; mUserDefinedPartitioningType = t.mUserDefinedPartitioningType;
 }
Exemplo n.º 18
0
		internal IfcWindow(IfcWindow o) : base(o) { mOverallHeight = o.mOverallHeight; mOverallWidth = o.mOverallWidth; mPredefinedType = o.mPredefinedType; mPartitioningType = o.mPartitioningType; mUserDefinedPartitioningType = o.mUserDefinedPartitioningType; }