internal static void parseFields(IfcWindowStyle s, List <string> arrFields, ref int ipos) { IfcTypeProduct.parseFields(s, arrFields, ref ipos); string str = arrFields[ipos++]; if (str != "$") { s.mConstructionType = (IfcWindowStyleConstructionEnum)Enum.Parse(typeof(IfcWindowStyleConstructionEnum), str.Replace(".", "")); } str = arrFields[ipos++]; if (str != "$") { s.mOperationType = (IfcWindowStyleOperationEnum)Enum.Parse(typeof(IfcWindowStyleOperationEnum), str.Replace(".", "")); } s.mParameterTakesPrecedence = ParserSTEP.ParseBool(arrFields[ipos++]); s.mSizeable = ParserSTEP.ParseBool(arrFields[ipos++]); }
internal new static IfcWindowStyle Parse(string strDef) { IfcWindowStyle s = new IfcWindowStyle(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return(s); }
internal static void parseFields(IfcWindowStyle s, List<string> arrFields, ref int ipos) { IfcTypeProduct.parseFields(s, arrFields, ref ipos); string str = arrFields[ipos++]; if (str != "$") s.mConstructionType = (IfcWindowStyleConstructionEnum)Enum.Parse(typeof(IfcWindowStyleConstructionEnum), str.Replace(".", "")); str = arrFields[ipos++]; if (str != "$") s.mOperationType = (IfcWindowStyleOperationEnum)Enum.Parse(typeof(IfcWindowStyleOperationEnum), str.Replace(".", "")); s.mParameterTakesPrecedence = ParserSTEP.ParseBool(arrFields[ipos++]); s.mSizeable = ParserSTEP.ParseBool(arrFields[ipos++]); }
internal IfcWindowStyle(DatabaseIfc db, IfcWindowStyle s) : base(db, s) { mConstructionType = s.mConstructionType; mOperationType = s.mOperationType; mParameterTakesPrecedence = s.mParameterTakesPrecedence; mSizeable = s.mSizeable; }
internal static new IfcWindowStyle Parse(string strDef) { IfcWindowStyle s = new IfcWindowStyle(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
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; }
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; }