protected static parseFields ( |
||
t | ||
arrFields | List |
|
ipos | int | |
return | void |
internal static void parseFields(IfcWindowType s, List <string> arrFields, ref int ipos) { IfcBuildingElementType.parseFields(s, arrFields, ref ipos); s.mPredefinedType = (IfcWindowTypeEnum)Enum.Parse(typeof(IfcWindowTypeEnum), arrFields[ipos++].Replace(".", "")); s.mPartitioningType = (IfcWindowTypePartitioningEnum)Enum.Parse(typeof(IfcWindowTypePartitioningEnum), arrFields[ipos++].Replace(".", "")); s.mParameterTakesPrecedence = ParserSTEP.ParseBool(arrFields[ipos++]); s.mUserDefinedPartitioningType = arrFields[ipos++]; }
internal static void parseFields(IfcWallType t, List <string> arrFields, ref int ipos) { IfcBuildingElementType.parseFields(t, arrFields, ref ipos); try { string str = arrFields[ipos++].Replace(".", ""); if (string.Compare(str, "STANDARD", true) != 0) { t.mPredefinedType = (IfcWallTypeEnum)Enum.Parse(typeof(IfcWallTypeEnum), str); } } catch (Exception) { } }