internal static void parseFields( IfcAppliedValueRelationship a,List<string> arrFields, ref int ipos) { a.mComponentOfTotal = ParserSTEP.ParseLink(arrFields[ipos++]); a.mComponents = ParserSTEP.SplitListLinks(arrFields[ipos++]); a.mArithmeticOperator =( IfcArithmeticOperatorEnum)Enum.Parse(typeof(IfcArithmeticOperatorEnum), arrFields[ipos++].Replace(".","")); a.mName = arrFields[ipos++]; a.mDescription = arrFields[ipos++]; }
internal static IfcAppliedValueRelationship Parse(string strDef) { IfcAppliedValueRelationship a = new IfcAppliedValueRelationship(); int ipos = 0; parseFields(a, ParserSTEP.SplitLineFields(strDef), ref ipos); return a; }
internal IfcAppliedValueRelationship(IfcAppliedValueRelationship o) : base() { mComponentOfTotal = o.mComponentOfTotal; mComponents = new List<int>(o.mComponents.ToArray()); mArithmeticOperator = o.mArithmeticOperator; mName = o.mName; mDescription = o.mDescription; }