コード例 #1
0
ファイル: XMLNode.cs プロジェクト: diegowald/intellitrack
 public static HandleRef getCPtrAndSetReference(XMLNode obj, object parent) {
   if (obj != null)
   {
     obj.swigParentRef = parent;
     return obj.swigCPtr;
   }
   else
   {
     return new HandleRef(null, IntPtr.Zero);
   }
 }
コード例 #2
0
 public static HandleRef getCPtrAndSetReference(XMLNode obj, object parent)
 {
     if (obj != null)
     {
         obj.swigParentRef = parent;
         return(obj.swigCPtr);
     }
     else
     {
         return(new HandleRef(null, IntPtr.Zero));
     }
 }
コード例 #3
0
ファイル: XMLNode.cs プロジェクト: diegowald/intellitrack
 public static HandleRef getCPtrAndDisown(XMLNode obj, object parent) {
   if (obj != null)
   {
     obj.swigCMemOwn = false;
     obj.swigParentRef = parent;
     return obj.swigCPtr;
   }
   else
   {
     return new HandleRef(null, IntPtr.Zero);
   }
 }
コード例 #4
0
ファイル: XMLNode.cs プロジェクト: MattLatt/GDAL_2.0.x_VC
 public static HandleRef getCPtrAndDisown(XMLNode obj, object parent)
 {
     if (obj != null)
     {
         obj.swigCMemOwn   = false;
         obj.swigParentRef = parent;
         return(obj.swigCPtr);
     }
     else
     {
         return(new HandleRef(null, IntPtr.Zero));
     }
 }
コード例 #5
0
ファイル: XMLNode.cs プロジェクト: MattLatt/GDAL_2.0.x_VC
 public static HandleRef getCPtr(XMLNode obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #6
0
ファイル: Gdal.cs プロジェクト: wangfeilong321/vdpm
 public static string SerializeXMLTree(XMLNode xmlnode)
 {
     string ret = GdalPINVOKE.SerializeXMLTree(XMLNode.getCPtr(xmlnode));
     if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
コード例 #7
0
ファイル: XMLNode.cs プロジェクト: diegowald/intellitrack
 public static HandleRef getCPtr(XMLNode obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #8
0
ファイル: XMLNode.cs プロジェクト: diegowald/intellitrack
 public XMLNode CloneXMLTree(XMLNode psTree) {
   IntPtr cPtr = GdalPINVOKE.XMLNode_CloneXMLTree(swigCPtr, XMLNode.getCPtr(psTree));
   XMLNode ret = (cPtr == IntPtr.Zero) ? null : new XMLNode(cPtr, true, ThisOwn_true());
   if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #9
0
ファイル: XMLNode.cs プロジェクト: diegowald/intellitrack
 public void AddXMLSibling(XMLNode psNewSibling) {
   GdalPINVOKE.XMLNode_AddXMLSibling(swigCPtr, XMLNode.getCPtr(psNewSibling));
   if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve();
 }
コード例 #10
0
ファイル: XMLNode.cs プロジェクト: diegowald/intellitrack
 public int RemoveXMLChild(XMLNode psChild) {
   int ret = GdalPINVOKE.XMLNode_RemoveXMLChild(swigCPtr, XMLNode.getCPtr(psChild));
   if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
コード例 #11
0
ファイル: XMLNode.cs プロジェクト: diegowald/intellitrack
 public void AddXMLChild(XMLNode psChild) {
   GdalPINVOKE.XMLNode_AddXMLChild(swigCPtr, XMLNode.getCPtr(psChild));
   if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve();
 }