internal static void parseFields(IfcBridgePart b, List <string> arrFields, ref int ipos) { IfcBridgeStructureElement.parseFields(b, arrFields, ref ipos); string s = arrFields[ipos++]; if (s[0] == '.') { b.mStructureElementType = (IfcBridgeStructureElementType)Enum.Parse(typeof(IfcBridgeStructureElementType), s.Replace(".", "")); } s = arrFields[ipos++]; if (s[0] == '.') { b.mTechnoElementType = (IfcBridgeTechnologicalElementType)Enum.Parse(typeof(IfcBridgeTechnologicalElementType), s.Replace(".", "")); } }
public IfcBridgePart(DatabaseIfc db, IfcBridgePart bridgePart, DuplicateOptions options) : base(db, bridgePart, options) { }
internal static void parseFields(IfcBridgePart b, List<string> arrFields, ref int ipos) { IfcBridgeStructureElement.parseFields(b, arrFields, ref ipos); string s = arrFields[ipos++]; if (s[0] == '.') b.mStructureElementType = (IfcBridgeStructureElementType)Enum.Parse(typeof(IfcBridgeStructureElementType), s.Replace(".", "")); s = arrFields[ipos++]; if (s[0] == '.') b.mTechnoElementType = (IfcBridgeTechnologicalElementType)Enum.Parse(typeof(IfcBridgeTechnologicalElementType), s.Replace(".", "")); }
internal static IfcBridgePart Parse(string strDef) { IfcBridgePart b = new IfcBridgePart(); int ipos = 0; parseFields(b, ParserSTEP.SplitLineFields(strDef), ref ipos); return b; }
internal IfcBridgePart(IfcBridgePart p) : base(p) { mStructureElementType = p.mStructureElementType; mTechnoElementType = p.mTechnoElementType; }
internal static IfcBridgePart Parse(string strDef) { IfcBridgePart b = new IfcBridgePart(); int ipos = 0; parseFields(b, ParserSTEP.SplitLineFields(strDef), ref ipos); return(b); }