Esempio n. 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(".", ""));
            }
        }
Esempio n. 2
0
 internal IfcGeographicElementType(DatabaseIfc db, IfcGeographicElementType t, DuplicateOptions options) : base(db, t, options)
 {
     mPredefinedType = t.mPredefinedType;
 }
Esempio n. 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(".", ""));
		}
Esempio n. 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; }
Esempio n. 5
0
		internal IfcGeographicElementType(IfcGeographicElementType o) : base(o) { mPredefinedType = o.mPredefinedType; }
Esempio n. 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);
 }
Esempio n. 7
0
 internal IfcGeographicElementType(DatabaseIfc db, IfcGeographicElementType t) : base(db, t)
 {
     mPredefinedType = t.mPredefinedType;
 }
Esempio n. 8
0
 internal IfcGeographicElementType(DatabaseIfc db, IfcGeographicElementType t, IfcOwnerHistory ownerHistory, bool downStream) : base(db, t, ownerHistory, downStream)
 {
     mPredefinedType = t.mPredefinedType;
 }
Esempio n. 9
0
 internal IfcGeographicElementType(IfcGeographicElementType o) : base(o)
 {
     mPredefinedType = o.mPredefinedType;
 }
Esempio n. 10
0
 internal IfcGeographicElementType(DatabaseIfc db, IfcGeographicElementType t)
     : base(db,t)
 {
     mPredefinedType = t.mPredefinedType;
 }