internal static void parseFields(IfcSystemFurnitureElementType t, List<string> arrFields, ref int ipos, Schema schema) { IfcFurnishingElementType.parseFields(t, arrFields, ref ipos); if (schema != Schema.IFC2x3) { string s = arrFields[ipos++]; if (s.StartsWith(".")) t.mPredefinedType = (IfcSystemFurnitureElementTypeEnum)Enum.Parse(typeof(IfcSystemFurnitureElementTypeEnum), s.Substring(1, s.Length - 2)); } }
internal static IfcSystemFurnitureElementType Parse(string strDef, Schema schema) { IfcSystemFurnitureElementType t = new IfcSystemFurnitureElementType(); int ipos = 0; parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return t; }
internal IfcSystemFurnitureElementType(IfcSystemFurnitureElementType t) : base(t) { mPredefinedType = t.mPredefinedType; }