internal static void parseFields(IfcPipeSegment s, List<string> arrFields, ref int ipos) { IfcFlowSegment.parseFields(s, arrFields, ref ipos); string str = arrFields[ipos++]; if (str[0] == '.') s.mPredefinedType = (IfcPipeSegmentTypeEnum)Enum.Parse(typeof(IfcPipeSegmentTypeEnum), str.Substring(1, str.Length - 2)); }
internal new static IfcPipeSegment Parse(string strDef) { IfcPipeSegment s = new IfcPipeSegment(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
internal IfcPipeSegment(IfcPipeSegment s) : base(s) { mPredefinedType = s.mPredefinedType; }