internal static IfcConstructionEquipmentResource Parse(string strDef, Schema schema) { IfcConstructionEquipmentResource r = new IfcConstructionEquipmentResource(); int ipos = 0; parseFields(r, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return r; }
internal static void parseFields(IfcConstructionEquipmentResource r, List<string> arrFields, ref int ipos, Schema schema) { IfcConstructionResource.parseFields(r, arrFields, ref ipos,schema); if (schema != Schema.IFC2x3) { string str = arrFields[ipos++]; if (str[0] == '.') r.mPredefinedType = (IfcConstructionEquipmentResourceTypeEnum)Enum.Parse(typeof(IfcConstructionEquipmentResourceTypeEnum), str.Substring(1, str.Length - 2)); } }
internal IfcConstructionEquipmentResource(IfcConstructionEquipmentResource r) : base(r) { mPredefinedType = r.mPredefinedType; }