getCPtr() static private method

static private getCPtr ( XMLNamespaces obj ) : HandleRef
obj XMLNamespaces
return System.Runtime.InteropServices.HandleRef
Example #1
0
 void addL2Namespaces(XMLNamespaces xmlns)
 {
     libsbmlPINVOKE.SBMLExtensionRegistry_addL2Namespaces(swigCPtr, XMLNamespaces.getCPtr(xmlns));
 }
Example #2
0
        int addPkgNamespaces(XMLNamespaces xmlns)
        {
            int ret = libsbmlPINVOKE.SBMLNamespaces_addPkgNamespaces(swigCPtr, XMLNamespaces.getCPtr(xmlns));

            return(ret);
        }
Example #3
0
        static XMLNode convertStringToXMLNode(string xmlstr, XMLNamespaces xmlns)
        {
            IntPtr  cPtr = libsbmlPINVOKE.XMLNode_convertStringToXMLNode__SWIG_0(xmlstr, XMLNamespaces.getCPtr(xmlns));
            XMLNode ret  = (cPtr == IntPtr.Zero) ? null : new XMLNode(cPtr, true);

            return(ret);
        }
Example #4
0
 XMLNode(XMLTriple triple, XMLAttributes attributes, XMLNamespaces namespaces) : this(libsbmlPINVOKE.new_XMLNode__SWIG_4(XMLTriple.getCPtr(triple), XMLAttributes.getCPtr(attributes), XMLNamespaces.getCPtr(namespaces)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
 XMLNamespaces(XMLNamespaces orig) : this(libsbmlPINVOKE.new_XMLNamespaces__SWIG_1(XMLNamespaces.getCPtr(orig)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #6
0
 void removeL2Namespaces(XMLNamespaces xmlns)
 {
     libsbmlPINVOKE.SBMLExtension_removeL2Namespaces(swigCPtr, XMLNamespaces.getCPtr(xmlns));
 }