internal static void parseFields(IfcElementAssemblyType t, List<string> arrFields, ref int ipos) { IfcElementType.parseFields(t, arrFields, ref ipos); string s = arrFields[ipos++]; if (s.StartsWith(".")) t.mPredefinedType = (IfcElementAssemblyTypeEnum)Enum.Parse(typeof(IfcElementAssemblyTypeEnum), s.Replace(".", "")); }
internal IfcElementAssemblyType(IfcElementAssemblyType o) : base(o) { mPredefinedType = o.mPredefinedType; }
internal new static IfcElementAssemblyType Parse(string strDef) { IfcElementAssemblyType t = new IfcElementAssemblyType(); int ipos = 0; parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos); return t; }
internal IfcElementAssemblyType(DatabaseIfc db, IfcElementAssemblyType t) : base(db, t) { mPredefinedType = t.mPredefinedType; }