internal new static IfcDoorStyle Parse(string strDef) { IfcDoorStyle s = new IfcDoorStyle(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
internal static void parseFields(IfcDoorStyle s, List<string> arrFields, ref int ipos) { IfcTypeProduct.parseFields(s, arrFields, ref ipos); s.mOperationType = (IfcDoorTypeOperationEnum)Enum.Parse(typeof(IfcDoorTypeOperationEnum), arrFields[ipos++].Replace(".", "")); s.mConstructionType = (IfcDoorStyleConstructionEnum)Enum.Parse(typeof(IfcDoorStyleConstructionEnum), arrFields[ipos++].Replace(".", "")); s.mParameterTakesPrecedence = ParserSTEP.ParseBool(arrFields[ipos++]); s.mSizeable = ParserSTEP.ParseBool(arrFields[ipos++]); }
internal IfcDoorStyle(IfcDoorStyle s) : base(s) { mOperationType = s.mOperationType; mConstructionType = s.mConstructionType; mParameterTakesPrecedence = s.mParameterTakesPrecedence; mSizeable = s.mSizeable; }