Exemplo n.º 1
0
        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(".", ""));
            }
        }
Exemplo n.º 2
0
 internal IfcGeographicElement(DatabaseIfc db, IfcGeographicElement e, DuplicateOptions options) : base(db, e, options)
 {
     mPredefinedType = e.mPredefinedType;
 }
Exemplo n.º 3
0
		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(".", ""));
		}
Exemplo n.º 4
0
		internal static IfcGeographicElement Parse(string strDef) { IfcGeographicElement e = new IfcGeographicElement(); int ipos = 0; parseFields(e, ParserSTEP.SplitLineFields(strDef), ref ipos); return e; }
Exemplo n.º 5
0
		internal IfcGeographicElement(IfcGeographicElement e) : base(e) { mPredefinedType = e.mPredefinedType; }
Exemplo n.º 6
0
 internal static IfcGeographicElement Parse(string strDef)
 {
     IfcGeographicElement e = new IfcGeographicElement(); int ipos = 0; parseFields(e, ParserSTEP.SplitLineFields(strDef), ref ipos); return(e);
 }
Exemplo n.º 7
0
 internal IfcGeographicElement(DatabaseIfc db, IfcGeographicElement e) : base(db, e)
 {
     mPredefinedType = e.mPredefinedType;
 }
Exemplo n.º 8
0
 internal IfcGeographicElement(DatabaseIfc db, IfcGeographicElement e, IfcOwnerHistory ownerHistory, bool downStream) : base(db, e, ownerHistory, downStream)
 {
     mPredefinedType = e.mPredefinedType;
 }
Exemplo n.º 9
0
 internal IfcGeographicElement(IfcGeographicElement e) : base(e)
 {
     mPredefinedType = e.mPredefinedType;
 }
Exemplo n.º 10
0
 internal IfcGeographicElement(DatabaseIfc db, IfcGeographicElement e)
     : base(db, e,false)
 {
     mPredefinedType = e.mPredefinedType;
 }