GeometryGym.Ifc.IfcWallType.parseFields C# (CSharp) Method

parseFields() static private method

static private parseFields ( IfcWallType t, List arrFields, int &ipos ) : void
t IfcWallType
arrFields List
ipos int
return void
        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) { }
        }