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