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