Inheritance: BaseClassIfc, IfcResourceObjectSelect
Exemple #1
0
 internal override void postParseRelate()
 {
     base.postParseRelate();
     foreach (int i in mQuantityIndices)
     {
         IfcPhysicalQuantity q = mDatabase[i] as IfcPhysicalQuantity;
         if (q != null)
         {
             addQuantity(q);
         }
     }
 }
Exemple #2
0
		protected static void parseFields(IfcPhysicalQuantity q, List<string> arrFields, ref int ipos) { q.mName = arrFields[ipos++].Replace("'", ""); q.mDescription = arrFields[ipos++].Replace("'",""); }
Exemple #3
0
		protected IfcConstructionResource(DatabaseIfc m, IfcResourceTime usage, List<IfcAppliedValue> baseCosts, IfcPhysicalQuantity baseQuantity)
			: base(m) { if (usage != null) mUsage = usage.mIndex; if (baseCosts != null && baseCosts.Count > 0) mBaseCosts = baseCosts.ConvertAll(x => x.mIndex); if (baseQuantity != null) mBaseQuantity = baseQuantity.mIndex; }
Exemple #4
0
		protected IfcPhysicalQuantity(IfcPhysicalQuantity q) : base() { mName = q.mName; mDescription = q.mDescription; }