internal static void parseFields(IfcFastenerType t, List<string> arrFields, ref int ipos, ReleaseVersion schema) { IfcElementComponentType.parseFields(t, arrFields, ref ipos); if (schema != ReleaseVersion.IFC2x3) t.mPredefinedType = (IfcFastenerTypeEnum)Enum.Parse(typeof(IfcFastenerTypeEnum), arrFields[ipos++].Replace(".", "")); }
internal static IfcFastenerType Parse(string strDef, ReleaseVersion schema) { int ipos = 0; IfcFastenerType t = new IfcFastenerType(); parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos, schema); return t; }
internal IfcFastenerType(IfcFastenerType t) : base(t) { mPredefinedType = t.mPredefinedType; }
internal IfcFastenerType(DatabaseIfc db, IfcFastenerType t) : base(db, t) { mPredefinedType = t.mPredefinedType; }
internal IfcFastenerType(DatabaseIfc db, IfcFastenerType t, DuplicateOptions options) : base(db, t, options) { mPredefinedType = t.mPredefinedType; }