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

parseFields() static private méthode

static private parseFields ( IfcEventType t, List arrFields, int &ipos ) : void
t IfcEventType
arrFields List
ipos int
Résultat void
		internal static void parseFields(IfcEventType t, List<string> arrFields, ref int ipos)
		{
			IfcTypeProcess.parseFields(t, arrFields, ref ipos);
			t.mPredefinedType = (IfcEventTypeEnum)Enum.Parse(typeof(IfcEventTypeEnum), arrFields[ipos++].Replace(".", ""));
			t.mEventTriggerType = (IfcEventTriggerTypeEnum)Enum.Parse(typeof(IfcEventTriggerTypeEnum), arrFields[ipos++].Replace(".", ""));
			t.mUserDefinedEventTriggerType = arrFields[ipos++].Replace("'", "");
		}
		internal new static IfcEventType Parse(string strDef) { IfcEventType t = new IfcEventType(); int ipos = 0; parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos); return t; }