public static HandleRef getCPtrAndSetReference(GDALMultiDimTranslateOptions obj, object parent)
 {
     if (obj != null)
     {
         obj.swigParentRef = parent;
         return(obj.swigCPtr);
     }
     else
     {
         return(new HandleRef(null, IntPtr.Zero));
     }
 }
 public static HandleRef getCPtr(GDALMultiDimTranslateOptions obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }