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

parseFields() static private méthode

static private parseFields ( IfcFlowInstrument a, List arrFields, int &ipos ) : void
a IfcFlowInstrument
arrFields List
ipos int
Résultat void
        internal static void parseFields(IfcFlowInstrument a, List<string> arrFields, ref int ipos)
        {
            IfcDistributionControlElement.parseFields(a, arrFields, ref ipos);
            string s = arrFields[ipos++];
            if (s.StartsWith("."))
                a.mPredefinedType = (IfcFlowInstrumentTypeEnum)Enum.Parse(typeof(IfcFlowInstrumentTypeEnum), s.Replace(".", ""));
        }