コード例 #1
0
ファイル: XMLNode.cs プロジェクト: MattLatt/GDAL_2.0.x_VC
 public void AddXMLSibling(XMLNode psNewSibling)
 {
     GdalPINVOKE.XMLNode_AddXMLSibling(swigCPtr, XMLNode.getCPtr(psNewSibling));
     if (GdalPINVOKE.SWIGPendingException.Pending)
     {
         throw GdalPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
ファイル: XMLNode.cs プロジェクト: MattLatt/GDAL_2.0.x_VC
        public int RemoveXMLChild(XMLNode psChild)
        {
            int ret = GdalPINVOKE.XMLNode_RemoveXMLChild(swigCPtr, XMLNode.getCPtr(psChild));

            if (GdalPINVOKE.SWIGPendingException.Pending)
            {
                throw GdalPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #3
0
ファイル: Gdal.cs プロジェクト: jugstalt/gViewGisOS
        public static string SerializeXMLTree(XMLNode xmlnode)
        {
            string ret = GdalPINVOKE.SerializeXMLTree(XMLNode.getCPtr(xmlnode));

            if (GdalPINVOKE.SWIGPendingException.Pending)
            {
                throw GdalPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #4
0
ファイル: XMLNode.cs プロジェクト: MattLatt/GDAL_2.0.x_VC
        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);
        }