Example #1
0
		internal static void parseFields(IfcOutlet s, List<string> arrFields, ref int ipos)
		{
			IfcFlowTerminal.parseFields(s, arrFields, ref ipos);
			string str = arrFields[ipos++];
			if (str[0] == '.')
				s.mPredefinedType = (IfcOutletTypeEnum)Enum.Parse(typeof(IfcOutletTypeEnum), str.Substring(1, str.Length - 2));
		}
Example #2
0
 internal new static IfcOutlet Parse(string strDef)
 {
     IfcOutlet s = new IfcOutlet(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return(s);
 }
Example #3
0
 internal IfcOutlet(DatabaseIfc db, IfcOutlet o) : base(db, o)
 {
     mPredefinedType = o.mPredefinedType;
 }
Example #4
0
 internal IfcOutlet(IfcOutlet o) : base(o)
 {
     mPredefinedType = o.mPredefinedType;
 }
Example #5
0
		internal new static IfcOutlet Parse(string strDef) { IfcOutlet s = new IfcOutlet(); int ipos = 0; parseFields(s, ParserSTEP.SplitLineFields(strDef), ref ipos); return s; }
Example #6
0
		internal static void parseFields(IfcOutlet s, List<string> arrFields, ref int ipos)
		{
			IfcFlowTerminal.parseFields(s, arrFields, ref ipos);
			string str = arrFields[ipos++];
			if (str[0] == '.')
				s.mPredefinedType = (IfcOutletTypeEnum)Enum.Parse(typeof(IfcOutletTypeEnum), str.Substring(1, str.Length - 2));
		}
Example #7
0
		internal IfcOutlet(IfcOutlet o) : base(o) { mPredefinedType = o.mPredefinedType; }