internal static void parseFields(IfcWorkPlan p, List <string> arrFields, ref int ipos, ReleaseVersion schema) { IfcWorkControl.parseFields(p, arrFields, ref ipos, schema); if (schema != ReleaseVersion.IFC2x3) { string s = arrFields[ipos++]; if (s.StartsWith(".")) { p.mPredefinedType = (IfcWorkPlanTypeEnum)Enum.Parse(typeof(IfcWorkPlanTypeEnum), s.Replace(".", "")); } } }
internal static IfcWorkPlan Parse(string strDef) { IfcWorkPlan p = new IfcWorkPlan(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return(p); }
internal static void parseFields(IfcWorkPlan p, List<string> arrFields, ref int ipos, ReleaseVersion schema) { IfcWorkControl.parseFields(p, arrFields, ref ipos,schema); if (schema != ReleaseVersion.IFC2x3) { string s = arrFields[ipos++]; if (s.StartsWith(".")) p.mPredefinedType = (IfcWorkPlanTypeEnum)Enum.Parse(typeof(IfcWorkPlanTypeEnum), s.Replace(".", "")); } }
internal IfcWorkPlan(DatabaseIfc db, IfcWorkPlan p) : base(db, p) { mPredefinedType = p.mPredefinedType; }
internal IfcWorkPlan(DatabaseIfc db, IfcWorkPlan p) : base(db,p) { mPredefinedType = p.mPredefinedType; }
internal static IfcWorkPlan Parse(string strDef) { IfcWorkPlan p = new IfcWorkPlan(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p; }
internal IfcWorkPlan(DatabaseIfc db, IfcWorkPlan p, DuplicateOptions options) : base(db, p, options) { mPredefinedType = p.mPredefinedType; }
internal IfcWorkPlan(IfcWorkPlan p) : base(p) { mPredefinedType = p.mPredefinedType; }
public IfcWorkSchedule(IfcWorkPlan workPlan) : base(workPlan.Database) { workPlan.AddAggregated(this); }
internal IfcWorkPlan(DatabaseIfc db, IfcWorkPlan p, IfcOwnerHistory ownerHistory, bool downStream) : base(db, p, ownerHistory, downStream) { mPredefinedType = p.mPredefinedType; }