internal static IfcConstructionProductResource Parse(string strDef, Schema schema) { IfcConstructionProductResource r = new IfcConstructionProductResource(); int ipos = 0; parseFields(r, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return r; }
internal static void parseFields(IfcConstructionProductResource 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 = (IfcConstructionProductResourceTypeEnum)Enum.Parse(typeof(IfcConstructionProductResourceTypeEnum), str.Substring(1, str.Length - 2)); } }
internal IfcConstructionProductResource(IfcConstructionProductResource r) : base(r) { mPredefinedType = r.mPredefinedType; }