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