GeometryGym.Ifc.IfcFurnitureType.parseFields C# (CSharp) Méthode

parseFields() static private méthode

static private parseFields ( IfcFurnitureType t, List arrFields, int &ipos, ReleaseVersion schema ) : void
t IfcFurnitureType
arrFields List
ipos int
schema ReleaseVersion
Résultat void
        internal static void parseFields(IfcFurnitureType t, List<string> arrFields, ref int ipos,ReleaseVersion schema)
        {
            IfcFurnishingElementType.parseFields(t, arrFields, ref ipos);
            t.mAssemblyPlace = (IfcAssemblyPlaceEnum)Enum.Parse(typeof(IfcAssemblyPlaceEnum), arrFields[ipos++].Replace(".", ""));
            if (schema != ReleaseVersion.IFC2x3)
            {
                string s = arrFields[ipos++];
                if (s.StartsWith("."))
                    t.mPredefinedType = (IfcFurnitureTypeEnum)Enum.Parse(typeof(IfcFurnitureTypeEnum), s.Replace(".", ""));
            }
        }