internal static void parseFields(IfcLaborResource 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 = (IfcLaborResourceTypeEnum)Enum.Parse(typeof(IfcLaborResourceTypeEnum), str.Substring(1, str.Length - 2)); } }
internal static void parseFields(IfcLaborResource r, List <string> arrFields, ref int ipos, ReleaseVersion schema) { IfcConstructionResource.parseFields(r, arrFields, ref ipos, schema); if (schema != ReleaseVersion.IFC2x3) { string str = arrFields[ipos++]; if (str[0] == '.') { r.mPredefinedType = (IfcLaborResourceTypeEnum)Enum.Parse(typeof(IfcLaborResourceTypeEnum), str.Substring(1, str.Length - 2)); } } }
internal static IfcLaborResource Parse(string strDef, ReleaseVersion schema) { IfcLaborResource r = new IfcLaborResource(); int ipos = 0; parseFields(r, ParserSTEP.SplitLineFields(strDef), ref ipos, schema); return(r); }
internal IfcLaborResource(DatabaseIfc db, IfcLaborResource r) : base(db, r) { mPredefinedType = r.mPredefinedType; }
internal IfcLaborResource(DatabaseIfc db, IfcLaborResource r, DuplicateOptions options) : base(db, r, options) { mPredefinedType = r.mPredefinedType; }
internal IfcLaborResource(IfcLaborResource o) : base(o) { mPredefinedType = o.mPredefinedType; }
internal IfcLaborResource(DatabaseIfc db, IfcLaborResource r, IfcOwnerHistory ownerHistory, bool downStream) : base(db, r, ownerHistory, downStream) { mPredefinedType = r.mPredefinedType; }
internal IfcLaborResource(DatabaseIfc db, IfcLaborResource r) : base(db,r) { mPredefinedType = r.mPredefinedType; }
internal static IfcLaborResource Parse(string strDef, ReleaseVersion schema) { IfcLaborResource r = new IfcLaborResource(); int ipos = 0; parseFields(r, ParserSTEP.SplitLineFields(strDef), ref ipos, schema); return r; }