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

parseFields() static private méthode

static private parseFields ( IfcWindowStyle s, List arrFields, int &ipos ) : void
s IfcWindowStyle
arrFields List
ipos int
Résultat void
        internal static void parseFields(IfcWindowStyle s, List<string> arrFields, ref int ipos)
        {
            IfcTypeProduct.parseFields(s, arrFields, ref ipos);
            string str = arrFields[ipos++];
            if (str != "$")
                s.mConstructionType = (IfcWindowStyleConstructionEnum)Enum.Parse(typeof(IfcWindowStyleConstructionEnum), str.Replace(".", ""));
            str = arrFields[ipos++];
            if (str != "$")
                s.mOperationType = (IfcWindowStyleOperationEnum)Enum.Parse(typeof(IfcWindowStyleOperationEnum), str.Replace(".", ""));
            s.mParameterTakesPrecedence = ParserSTEP.ParseBool(arrFields[ipos++]);
            s.mSizeable = ParserSTEP.ParseBool(arrFields[ipos++]);
        }