Beispiel #1
0
        internal static void parseFields(IfcGeographicElementType t, List <string> arrFields, ref int ipos)
        {
            IfcElementType.parseFields(t, arrFields, ref ipos);
            string s = arrFields[ipos++];

            if (s.StartsWith("."))
            {
                t.mPredefinedType = (IfcGeographicElementTypeEnum)Enum.Parse(typeof(IfcGeographicElementTypeEnum), s.Replace(".", ""));
            }
        }
Beispiel #2
0
 internal IfcGeographicElementType(DatabaseIfc db, IfcGeographicElementType t, DuplicateOptions options) : base(db, t, options)
 {
     mPredefinedType = t.mPredefinedType;
 }
Beispiel #3
0
		internal static void parseFields(IfcGeographicElementType t, List<string> arrFields, ref int ipos)
		{
			IfcElementType.parseFields(t, arrFields, ref ipos);
			string s = arrFields[ipos++];
			if (s.StartsWith("."))
				t.mPredefinedType = (IfcGeographicElementTypeEnum)Enum.Parse(typeof(IfcGeographicElementTypeEnum), s.Replace(".", ""));
		}
Beispiel #4
0
		internal new static IfcGeographicElementType Parse(string strDef) { IfcGeographicElementType t = new IfcGeographicElementType(); int ipos = 0; parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos); return t; }
Beispiel #5
0
		internal IfcGeographicElementType(IfcGeographicElementType o) : base(o) { mPredefinedType = o.mPredefinedType; }
Beispiel #6
0
 internal new static IfcGeographicElementType Parse(string strDef)
 {
     IfcGeographicElementType t = new IfcGeographicElementType(); int ipos = 0; parseFields(t, ParserSTEP.SplitLineFields(strDef), ref ipos); return(t);
 }
Beispiel #7
0
 internal IfcGeographicElementType(DatabaseIfc db, IfcGeographicElementType t) : base(db, t)
 {
     mPredefinedType = t.mPredefinedType;
 }
Beispiel #8
0
 internal IfcGeographicElementType(DatabaseIfc db, IfcGeographicElementType t, IfcOwnerHistory ownerHistory, bool downStream) : base(db, t, ownerHistory, downStream)
 {
     mPredefinedType = t.mPredefinedType;
 }
Beispiel #9
0
 internal IfcGeographicElementType(IfcGeographicElementType o) : base(o)
 {
     mPredefinedType = o.mPredefinedType;
 }
Beispiel #10
0
 internal IfcGeographicElementType(DatabaseIfc db, IfcGeographicElementType t)
     : base(db,t)
 {
     mPredefinedType = t.mPredefinedType;
 }