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

parseFields() static private méthode

static private parseFields ( IfcAirToAirHeatRecovery a, List arrFields, int &ipos ) : void
a IfcAirToAirHeatRecovery
arrFields List
ipos int
Résultat void
		internal static void parseFields(IfcAirToAirHeatRecovery a, List<string> arrFields, ref int ipos)
		{
			IfcDistributionControlElement.parseFields(a, arrFields, ref ipos);
			string s = arrFields[ipos++];
			if (s.StartsWith("."))
				a.mPredefinedType = (IfcAirToAirHeatRecoveryTypeEnum)Enum.Parse(typeof(IfcAirToAirHeatRecoveryTypeEnum), s.Replace(".", ""));
		}
		internal new static IfcAirToAirHeatRecovery Parse(string strDef) { IfcAirToAirHeatRecovery d = new IfcAirToAirHeatRecovery(); int ipos = 0; parseFields(d, ParserSTEP.SplitLineFields(strDef), ref ipos); return d; }