internal static void parseFields(IfcPropertyEnumeratedValue p, List<string> arrFields, ref int ipos) { IfcSimpleProperty.parseFields(p, arrFields, ref ipos); string str = arrFields[ipos++]; p.mEnumerationValues = str; p.mEnumerationReference = ParserSTEP.ParseLink(arrFields[ipos++]); }
internal static IfcPropertyEnumeratedValue Parse(string strDef) { IfcPropertyEnumeratedValue p = new IfcPropertyEnumeratedValue(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p; }
internal int mEnumerationReference;// : OPTIONAL IfcPropertyEnumeration; internal IfcPropertyEnumeratedValue(IfcPropertyEnumeratedValue q) : base(q) { mEnumerationValues = q.mEnumerationValues; /*mEnumerationValues = new List<string>( q.mEnumerationValues.ToArray());*/ mEnumerationReference = q.mEnumerationReference; }