Inheritance: IfcElementComponentType
Beispiel #1
0
 internal static void parseFields(IfcVibrationIsolatorType t, List <string> arrFields, ref int ipos)
 {
     IfcDiscreteAccessoryType.parseFields(t, arrFields, ref ipos); t.mPredefinedType = (IfcVibrationIsolatorTypeEnum)Enum.Parse(typeof(IfcVibrationIsolatorTypeEnum), arrFields[ipos++].Replace(".", ""));
 }
Beispiel #2
0
		internal static void parseFields(IfcDiscreteAccessoryType e, List<string> arrFields, ref int ipos) { IfcElement.parseFields(e, arrFields, ref ipos); }
Beispiel #3
0
		internal static void parseFields(IfcDiscreteAccessoryType t, List<string> arrFields, ref int ipos, Schema schema)
		{
			IfcElementComponentType.parseFields(t, arrFields, ref ipos);
			if (schema != Schema.IFC2x3)
			{
				string str = arrFields[ipos++];
				if (str[0] == '.')
					t.mPredefinedType = (IfcDiscreteAccessoryTypeEnum)Enum.Parse(typeof(IfcDiscreteAccessoryTypeEnum), str.Replace(".", ""));
			}
		}
Beispiel #4
0
		internal static IfcDiscreteAccessoryType Parse(string strDef, Schema schema) { IfcDiscreteAccessoryType t = new IfcDiscreteAccessoryType(); int ipos = 0; parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos, schema); return t; }
Beispiel #5
0
		internal IfcDiscreteAccessoryType(IfcDiscreteAccessoryType t) : base(t) { }
Beispiel #6
0
		internal IfcDiscreteAccessoryType(DatabaseIfc db, IfcDiscreteAccessoryType t) : base(db, t) { mPredefinedType = t.mPredefinedType; }