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