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