internal override void postParseRelate() { base.postParseRelate(); foreach (int i in mQuantityIndices) { IfcPhysicalQuantity q = mDatabase[i] as IfcPhysicalQuantity; if (q != null) { addQuantity(q); } } }
protected static void parseFields(IfcPhysicalQuantity q, List<string> arrFields, ref int ipos) { q.mName = arrFields[ipos++].Replace("'", ""); q.mDescription = arrFields[ipos++].Replace("'",""); }
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; }
protected IfcPhysicalQuantity(IfcPhysicalQuantity q) : base() { mName = q.mName; mDescription = q.mDescription; }