Beispiel #1
0
        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(".", ""));
            }
        }
Beispiel #2
0
		public IfcBridgePart(DatabaseIfc db, IfcBridgePart bridgePart, DuplicateOptions options) : base(db, bridgePart, options) { }
Beispiel #3
0
 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(".", ""));
 }
Beispiel #4
0
 internal static IfcBridgePart Parse(string strDef)
 {
     IfcBridgePart b = new IfcBridgePart(); int ipos = 0; parseFields(b, ParserSTEP.SplitLineFields(strDef), ref ipos); return b;
 }
Beispiel #5
0
 internal IfcBridgePart(IfcBridgePart p)
     : base(p)
 {
     mStructureElementType = p.mStructureElementType; mTechnoElementType = p.mTechnoElementType;
 }
Beispiel #6
0
 internal static IfcBridgePart Parse(string strDef)
 {
     IfcBridgePart b = new IfcBridgePart(); int ipos = 0; parseFields(b, ParserSTEP.SplitLineFields(strDef), ref ipos); return(b);
 }
Beispiel #7
0
 internal IfcBridgePart(IfcBridgePart p) : base(p)
 {
     mStructureElementType = p.mStructureElementType; mTechnoElementType = p.mTechnoElementType;
 }