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(".", ""));
 }
Exemple #2
0
        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(".", ""));
            }
        }
Exemple #3
0
		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;
 }
Exemple #6
0
        }                                                                                                                               //mPredefinedType != .NOTDEFINED ? : ",$,")  }

        internal static IfcBridge Parse(string strDef)
        {
            IfcBridge b = new IfcBridge(); int ipos = 0; parseFields(b, ParserSTEP.SplitLineFields(strDef), ref ipos); return(b);
        }
Exemple #7
0
 internal IfcBridge(IfcBridge b) : base(b)
 {
     mPredefinedType = b.mPredefinedType;
 }