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

parseFields() static private méthode

static private parseFields ( IfcLamp s, List arrFields, int &ipos ) : void
s IfcLamp
arrFields List
ipos int
Résultat void
        internal static void parseFields(IfcLamp s, List<string> arrFields, ref int ipos)
        {
            IfcFlowTerminal.parseFields(s, arrFields, ref ipos);
            string str = arrFields[ipos++];
            if (str[0] == '.')
                s.mPredefinedType = (IfcLampTypeEnum)Enum.Parse(typeof(IfcLampTypeEnum), str.Substring(1, str.Length - 2));
        }