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

parseFields() static private méthode

static private parseFields ( IfcValve s, List arrFields, int &ipos ) : void
s IfcValve
arrFields List
ipos int
Résultat void
		internal static void parseFields(IfcValve s, List<string> arrFields, ref int ipos)
		{
			IfcEnergyConversionDevice.parseFields(s, arrFields, ref ipos);
			string str = arrFields[ipos++];
			if (str[0] == '.')
				s.mPredefinedType = (IfcValveTypeEnum)Enum.Parse(typeof(IfcValveTypeEnum), str);
		}
		internal new static IfcValve Parse(string strDef) { IfcValve s = new IfcValve(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }