Inheritance: IfcCivilElementPart
Exemplo n.º 1
0
 internal static void parseFields(IfcBridgeSegmentPart a, List<string> arrFields, ref int ipos)
 {
     IfcCivilElementPart.parseFields(a, arrFields, ref ipos);
     a.mSubPartType = (IfcBridgeSubPartType)Enum.Parse(typeof(IfcBridgeSubPartType), arrFields[ipos++].Replace(".", ""));
     a.mMechanicalRole = (IfcBridgeMechanicalRoleType)Enum.Parse(typeof(IfcBridgeMechanicalRoleType), arrFields[ipos++].Replace(".", ""));
 }
Exemplo n.º 2
0
 internal static IfcBridgeSegmentPart Parse(string strDef)
 {
     IfcBridgeSegmentPart p = new IfcBridgeSegmentPart(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p;
 }
Exemplo n.º 3
0
 internal IfcBridgeSegmentPart(IfcBridgeSegmentPart b)
     : base(b)
 {
     mSubPartType = b.mSubPartType; mMechanicalRole = b.mMechanicalRole;
 }
Exemplo n.º 4
0
 internal static void parseFields(IfcBridgeSegmentPart a, List <string> arrFields, ref int ipos)
 {
     IfcCivilElementPart.parseFields(a, arrFields, ref ipos);
     a.mSubPartType    = (IfcBridgeSubPartType)Enum.Parse(typeof(IfcBridgeSubPartType), arrFields[ipos++].Replace(".", ""));
     a.mMechanicalRole = (IfcBridgeMechanicalRoleType)Enum.Parse(typeof(IfcBridgeMechanicalRoleType), arrFields[ipos++].Replace(".", ""));
 }
Exemplo n.º 5
0
 internal static IfcBridgeSegmentPart Parse(string strDef)
 {
     IfcBridgeSegmentPart p = new IfcBridgeSegmentPart(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return(p);
 }
Exemplo n.º 6
0
 internal IfcBridgeSegmentPart(IfcBridgeSegmentPart b) : base(b)
 {
     mSubPartType = b.mSubPartType; mMechanicalRole = b.mMechanicalRole;
 }