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

parseFields() static private méthode

static private parseFields ( IfcWindowType s, List arrFields, int &ipos ) : void
s IfcWindowType
arrFields List
ipos int
Résultat void
        internal static void parseFields(IfcWindowType s, List<string> arrFields, ref int ipos)
        {
            IfcBuildingElementType.parseFields(s, arrFields, ref ipos);
            s.mPredefinedType = (IfcWindowTypeEnum)Enum.Parse(typeof(IfcWindowTypeEnum), arrFields[ipos++].Replace(".", ""));
            s.mPartitioningType = (IfcWindowTypePartitioningEnum)Enum.Parse(typeof(IfcWindowTypePartitioningEnum), arrFields[ipos++].Replace(".", ""));
            s.mParameterTakesPrecedence = ParserSTEP.ParseBool(arrFields[ipos++]);
            s.mUserDefinedPartitioningType = arrFields[ipos++];
        }