예제 #1
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(".", ""));
 }
예제 #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(".", ""));
            }
        }
예제 #3
0
		public IfcBridge(DatabaseIfc db, IfcBridge bridge, DuplicateOptions options) : base(db, bridge, options) { }
예제 #4
0
 internal static IfcBridge Parse(string strDef)
 {
     IfcBridge b = new IfcBridge(); int ipos = 0; parseFields(b, ParserSTEP.SplitLineFields(strDef), ref ipos); return b;
 }
예제 #5
0
 internal IfcBridge(IfcBridge b)
     : base(b)
 {
     mPredefinedType = b.mPredefinedType;
 }
예제 #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);
        }
예제 #7
0
 internal IfcBridge(IfcBridge b) : base(b)
 {
     mPredefinedType = b.mPredefinedType;
 }