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