internal static void parseFields(IfcInterceptor a, List <string> arrFields, ref int ipos) { IfcDistributionControlElement.parseFields(a, arrFields, ref ipos); string s = arrFields[ipos++]; if (s.StartsWith(".")) { a.mPredefinedType = (IfcInterceptorTypeEnum)Enum.Parse(typeof(IfcInterceptorTypeEnum), s.Replace(".", "")); } }
internal new static IfcInterceptor Parse(string strDef) { IfcInterceptor d = new IfcInterceptor(); int ipos = 0; parseFields(d, ParserSTEP.SplitLineFields(strDef), ref ipos); return(d); }
internal IfcInterceptor(DatabaseIfc db, IfcInterceptor i) : base(db, i) { mPredefinedType = i.mPredefinedType; }
internal new static IfcInterceptor Parse(string strDef) { IfcInterceptor d = new IfcInterceptor(); int ipos = 0; parseFields(d, ParserSTEP.SplitLineFields(strDef), ref ipos); return d; }
internal IfcInterceptor(DatabaseIfc db, IfcInterceptor i, DuplicateOptions options) : base(db, i, options) { mPredefinedType = i.mPredefinedType; }
internal static void parseFields(IfcInterceptor a, List<string> arrFields, ref int ipos) { IfcDistributionControlElement.parseFields(a, arrFields, ref ipos); string s = arrFields[ipos++]; if (s.StartsWith(".")) a.mPredefinedType = (IfcInterceptorTypeEnum)Enum.Parse(typeof(IfcInterceptorTypeEnum), s.Replace(".", "")); }
internal IfcInterceptor(IfcInterceptor a) : base(a) { mPredefinedType = a.mPredefinedType; }
internal IfcInterceptor(DatabaseIfc db, IfcInterceptor i, IfcOwnerHistory ownerHistory, bool downStream) : base(db, i, ownerHistory, downStream) { mPredefinedType = i.mPredefinedType; }