Example #1
0
        public static CRSInfoList GetCRSInfoListFromDatabase(string authName, out int pnListCount)
        {
            IntPtr      cPtr = OsrPINVOKE.GetCRSInfoListFromDatabase(authName, out pnListCount);
            CRSInfoList ret  = (cPtr == IntPtr.Zero) ? null : new CRSInfoList(cPtr, true, ThisOwn_true());

            if (OsrPINVOKE.SWIGPendingException.Pending)
            {
                throw OsrPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #2
0
 public static HandleRef getCPtrAndSetReference(CRSInfoList obj, object parent)
 {
     if (obj != null)
     {
         obj.swigParentRef = parent;
         return(obj.swigCPtr);
     }
     else
     {
         return(new HandleRef(null, IntPtr.Zero));
     }
 }
Example #3
0
 public static HandleRef getCPtrAndDisown(CRSInfoList obj, object parent)
 {
     if (obj != null)
     {
         obj.swigCMemOwn   = false;
         obj.swigParentRef = parent;
         return(obj.swigCPtr);
     }
     else
     {
         return(new HandleRef(null, IntPtr.Zero));
     }
 }
Example #4
0
 public static HandleRef getCPtr(CRSInfoList obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }