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

parseFields() static private méthode

static private parseFields ( IfcBridgeSegmentPart a, List arrFields, int &ipos ) : void
a IfcBridgeSegmentPart
arrFields List
ipos int
Résultat void
        internal static void parseFields(IfcBridgeSegmentPart a, List<string> arrFields, ref int ipos)
        {
            IfcCivilElementPart.parseFields(a, arrFields, ref ipos);
            a.mSubPartType = (IfcBridgeSubPartType)Enum.Parse(typeof(IfcBridgeSubPartType), arrFields[ipos++].Replace(".", ""));
            a.mMechanicalRole = (IfcBridgeMechanicalRoleType)Enum.Parse(typeof(IfcBridgeMechanicalRoleType), arrFields[ipos++].Replace(".", ""));
        }