internal static void parseFields(IfcGeographicElement e, List <string> arrFields, ref int ipos) { IfcElement.parseFields(e, arrFields, ref ipos); string s = arrFields[ipos++]; if (s.StartsWith(".")) { e.mPredefinedType = (IfcGeographicElementTypeEnum)Enum.Parse(typeof(IfcGeographicElementTypeEnum), s.Replace(".", "")); } }
internal IfcGeographicElement(DatabaseIfc db, IfcGeographicElement e, DuplicateOptions options) : base(db, e, options) { mPredefinedType = e.mPredefinedType; }
internal static void parseFields(IfcGeographicElement e, List<string> arrFields, ref int ipos) { IfcElement.parseFields(e, arrFields, ref ipos); string s = arrFields[ipos++]; if (s.StartsWith(".")) e.mPredefinedType = (IfcGeographicElementTypeEnum)Enum.Parse(typeof(IfcGeographicElementTypeEnum), s.Replace(".", "")); }
internal static IfcGeographicElement Parse(string strDef) { IfcGeographicElement e = new IfcGeographicElement(); int ipos = 0; parseFields(e, ParserSTEP.SplitLineFields(strDef), ref ipos); return e; }
internal IfcGeographicElement(IfcGeographicElement e) : base(e) { mPredefinedType = e.mPredefinedType; }
internal static IfcGeographicElement Parse(string strDef) { IfcGeographicElement e = new IfcGeographicElement(); int ipos = 0; parseFields(e, ParserSTEP.SplitLineFields(strDef), ref ipos); return(e); }
internal IfcGeographicElement(DatabaseIfc db, IfcGeographicElement e) : base(db, e) { mPredefinedType = e.mPredefinedType; }
internal IfcGeographicElement(DatabaseIfc db, IfcGeographicElement e, IfcOwnerHistory ownerHistory, bool downStream) : base(db, e, ownerHistory, downStream) { mPredefinedType = e.mPredefinedType; }
internal IfcGeographicElement(DatabaseIfc db, IfcGeographicElement e) : base(db, e,false) { mPredefinedType = e.mPredefinedType; }