Inheritance: IfcFlowTreatmentDevice
Example #1
0
        internal static void parseFields(IfcInterceptor a, List <string> arrFields, ref int ipos)
        {
            IfcDistributionControlElement.parseFields(a, arrFields, ref ipos);
            string s = arrFields[ipos++];

            if (s.StartsWith("."))
            {
                a.mPredefinedType = (IfcInterceptorTypeEnum)Enum.Parse(typeof(IfcInterceptorTypeEnum), s.Replace(".", ""));
            }
        }
Example #2
0
 internal new static IfcInterceptor Parse(string strDef)
 {
     IfcInterceptor d = new IfcInterceptor(); int ipos = 0; parseFields(d, ParserSTEP.SplitLineFields(strDef), ref ipos); return(d);
 }
Example #3
0
 internal IfcInterceptor(DatabaseIfc db, IfcInterceptor i) : base(db, i)
 {
     mPredefinedType = i.mPredefinedType;
 }
Example #4
0
		internal new static IfcInterceptor Parse(string strDef) { IfcInterceptor d = new IfcInterceptor(); int ipos = 0; parseFields(d, ParserSTEP.SplitLineFields(strDef), ref ipos); return d; }
Example #5
0
 internal IfcInterceptor(DatabaseIfc db, IfcInterceptor i, DuplicateOptions options) : base(db, i, options)
 {
     mPredefinedType = i.mPredefinedType;
 }
Example #6
0
		internal static void parseFields(IfcInterceptor a, List<string> arrFields, ref int ipos)
		{
			IfcDistributionControlElement.parseFields(a, arrFields, ref ipos);
			string s = arrFields[ipos++];
			if (s.StartsWith("."))
				a.mPredefinedType = (IfcInterceptorTypeEnum)Enum.Parse(typeof(IfcInterceptorTypeEnum), s.Replace(".", ""));
		}
Example #7
0
		internal IfcInterceptor(IfcInterceptor a) : base(a) { mPredefinedType = a.mPredefinedType; }
Example #8
0
 internal IfcInterceptor(DatabaseIfc db, IfcInterceptor i)
     : base(db, i)
 {
     mPredefinedType = i.mPredefinedType;
 }
Example #9
0
 internal IfcInterceptor(DatabaseIfc db, IfcInterceptor i, IfcOwnerHistory ownerHistory, bool downStream) : base(db, i, ownerHistory, downStream)
 {
     mPredefinedType = i.mPredefinedType;
 }
Example #10
0
 internal IfcInterceptor(IfcInterceptor a) : base(a)
 {
     mPredefinedType = a.mPredefinedType;
 }