internal static void parseFields(IfcBridge b, List<string> arrFields, ref int ipos) { IfcBridgeStructureElement.parseFields(b, arrFields, ref ipos); string s = arrFields[ipos++]; if (s[0] == '.') b.mPredefinedType = (IfcBridgeStructureType)Enum.Parse(typeof(IfcBridgeStructureType), s.Replace(".", "")); }
internal static void parseFields(IfcBridge b, List <string> arrFields, ref int ipos) { IfcBridgeStructureElement.parseFields(b, arrFields, ref ipos); string s = arrFields[ipos++]; if (s[0] == '.') { b.mPredefinedType = (IfcBridgeStructureType)Enum.Parse(typeof(IfcBridgeStructureType), s.Replace(".", "")); } }
public IfcBridge(DatabaseIfc db, IfcBridge bridge, DuplicateOptions options) : base(db, bridge, options) { }
internal static IfcBridge Parse(string strDef) { IfcBridge b = new IfcBridge(); int ipos = 0; parseFields(b, ParserSTEP.SplitLineFields(strDef), ref ipos); return b; }
internal IfcBridge(IfcBridge b) : base(b) { mPredefinedType = b.mPredefinedType; }
} //mPredefinedType != .NOTDEFINED ? : ",$,") } internal static IfcBridge Parse(string strDef) { IfcBridge b = new IfcBridge(); int ipos = 0; parseFields(b, ParserSTEP.SplitLineFields(strDef), ref ipos); return(b); }