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

parseFields() static private méthode

static private parseFields ( IfcExternalSpatialElement gp, List arrFields, int &ipos ) : void
gp IfcExternalSpatialElement
arrFields List
ipos int
Résultat void
		internal static void parseFields(IfcExternalSpatialElement gp, List<string> arrFields, ref int ipos)
		{
			IfcSpatialStructureElement.parseFields(gp, arrFields, ref ipos);
			string s = arrFields[ipos++];
			if (s[0] == '.')
				gp.mPredefinedType = (IfcExternalSpatialElementTypeEnum)Enum.Parse(typeof(IfcExternalSpatialElementTypeEnum), s.Replace(".", ""));
		}
		protected override string BuildStringSTEP() { return base.BuildStringSTEP() + (mPredefinedType == IfcExternalSpatialElementTypeEnum.NOTDEFINED ? ",$" : ",." + mPredefinedType.ToString() + "."); }