~ubuntu-branches/debian/sid/gdal/sid

« back to all changes in this revision

Viewing changes to swig/csharp/ogr/Layer.cs

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-05-07 15:04:42 UTC
  • mfrom: (5.5.16 experimental)
  • Revision ID: package-import@ubuntu.com-20120507150442-2eks97loeh6rq005
Tags: 1.9.0-1
* Ready for sid, starting transition.
* All symfiles updated to latest builds.
* Added dh_numpy call in debian/rules to depend on numpy ABI.
* Policy bumped to 3.9.3, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* ----------------------------------------------------------------------------
2
2
 * This file was automatically generated by SWIG (http://www.swig.org).
3
 
 * Version 1.3.39
 
3
 * Version 1.3.40
4
4
 *
5
5
 * Do not make changes to this file unless you know what you are doing--modify
6
6
 * the SWIG interface file instead.
104
104
    return ret;
105
105
  }
106
106
 
 
107
  public wkbGeometryType GetGeomType() {
 
108
    wkbGeometryType ret = (wkbGeometryType)OgrPINVOKE.Layer_GetGeomType(swigCPtr);
 
109
    if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
 
110
    return ret;
 
111
  }
 
112
 
107
113
  public string GetGeometryColumn() {
108
114
    string ret = OgrPINVOKE.Layer_GetGeometryColumn(swigCPtr);
109
115
    if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
191
197
    return ret;
192
198
  }
193
199
 
 
200
  public int DeleteField(int iField) {
 
201
    int ret = OgrPINVOKE.Layer_DeleteField(swigCPtr, iField);
 
202
    if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
 
203
    return ret;
 
204
  }
 
205
 
 
206
  public int ReorderField(int iOldFieldPos, int iNewFieldPos) {
 
207
    int ret = OgrPINVOKE.Layer_ReorderField(swigCPtr, iOldFieldPos, iNewFieldPos);
 
208
    if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
 
209
    return ret;
 
210
  }
 
211
 
 
212
  public int ReorderFields(int nList, int[] pList) {
 
213
    int ret = OgrPINVOKE.Layer_ReorderFields(swigCPtr, nList, pList);
 
214
    if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
 
215
    return ret;
 
216
  }
 
217
 
 
218
  public int AlterFieldDefn(int iField, FieldDefn field_def, int nFlags) {
 
219
    int ret = OgrPINVOKE.Layer_AlterFieldDefn(swigCPtr, iField, FieldDefn.getCPtr(field_def), nFlags);
 
220
    if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
 
221
    return ret;
 
222
  }
 
223
 
194
224
  public int StartTransaction() {
195
225
    int ret = OgrPINVOKE.Layer_StartTransaction(swigCPtr);
196
226
    if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
222
252
    return res;
223
253
}
224
254
 
 
255
  public int SetIgnoredFields(string[] options) {
 
256
    int ret = OgrPINVOKE.Layer_SetIgnoredFields(swigCPtr, (options != null)? new OgrPINVOKE.StringListMarshal(options)._ar : null);
 
257
    if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve();
 
258
    return ret;
 
259
  }
 
260
 
225
261
}
226
262
 
227
263
}