Inheritance: IfcCivilStructureElement
Esempio n. 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(".", ""));
            }
        }
Esempio n. 2
0
        internal static void parseFields(IfcBridgeStructureElement e, List <string> arrFields, ref int ipos)
        {
            IfcCivilStructureElement.parseFields(e, arrFields, ref ipos);
            string s = arrFields[ipos++];

            if (s[0] == '.')
            {
                e.mStructureIndicator = (IfcBridgeStructureIndicator)Enum.Parse(typeof(IfcBridgeStructureIndicator), s.Replace(".", ""));
            }
        }
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 void parseFields(IfcBridgeStructureElement e, List<string> arrFields, ref int ipos)
 {
     IfcCivilStructureElement.parseFields(e, arrFields, ref ipos);
     string s = arrFields[ipos++];
     if (s[0] == '.')
         e.mStructureIndicator = (IfcBridgeStructureIndicator)Enum.Parse(typeof(IfcBridgeStructureIndicator), s.Replace(".", ""));
 }
Esempio n. 5
0
 internal IfcBridgeStructureElement(IfcBridgeStructureElement e)
     : base(e)
 {
     mStructureIndicator = e.mStructureIndicator;
 }
Esempio n. 6
0
 internal IfcBridgeStructureElement(IfcBridgeStructureElement e) : base(e)
 {
     mStructureIndicator = e.mStructureIndicator;
 }