getCPtr() static private method

static private getCPtr ( XMLNode obj ) : HandleRef
obj XMLNode
return System.Runtime.InteropServices.HandleRef
Example #1
0
 XMLNode(XMLNode orig) : this(libsbmlPINVOKE.new_XMLNode__SWIG_15(XMLNode.getCPtr(orig)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        static XMLNode deleteRDFAnnotation(XMLNode annotation)
        {
            IntPtr  cPtr = libsbmlPINVOKE.RDFAnnotationParser_deleteRDFAnnotation(XMLNode.getCPtr(annotation));
            XMLNode ret  = (cPtr == IntPtr.Zero) ? null : new XMLNode(cPtr, true);

            return(ret);
        }
Example #3
0
 CVTerm(XMLNode node) : this(libsbmlPINVOKE.new_CVTerm__SWIG_2(XMLNode.getCPtr(node)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 ModelCreator(XMLNode creator) : this(libsbmlPINVOKE.new_ModelCreator__SWIG_1(XMLNode.getCPtr(creator)), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending)
     {
         throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #5
0
        bool equals(XMLNode other)
        {
            bool ret = libsbmlPINVOKE.XMLNode_equals__SWIG_1(swigCPtr, XMLNode.getCPtr(other));

            if (libsbmlPINVOKE.SWIGPendingException.Pending)
            {
                throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #6
0
        int addChild(XMLNode node)
        {
            int ret = libsbmlPINVOKE.XMLNode_addChild(swigCPtr, XMLNode.getCPtr(node));

            if (libsbmlPINVOKE.SWIGPendingException.Pending)
            {
                throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #7
0
        bool equals(XMLNode other, bool ignoreURI, bool ignoreAttributeValues)
        {
            bool ret = libsbmlPINVOKE.XMLNode_equals__SWIG_0(swigCPtr, XMLNode.getCPtr(other), ignoreURI, ignoreAttributeValues);

            if (libsbmlPINVOKE.SWIGPendingException.Pending)
            {
                throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #8
0
        static string convertXMLNodeToString(XMLNode node)
        {
            string ret = libsbmlPINVOKE.XMLNode_convertXMLNodeToString(XMLNode.getCPtr(node));

            return(ret);
        }
Example #9
0
        XMLNode insertChild(long n, XMLNode node)
        {
            XMLNode ret = new XMLNode(libsbmlPINVOKE.XMLNode_insertChild(swigCPtr, n, XMLNode.getCPtr(node)), false);

            if (libsbmlPINVOKE.SWIGPendingException.Pending)
            {
                throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Example #10
0
        int appendAnnotation(XMLNode annotation)
        {
            int ret = libsbmlPINVOKE.SpeciesReference_appendAnnotation__SWIG_0(swigCPtr, XMLNode.getCPtr(annotation));

            return(ret);
        }
 public static void parseRDFAnnotation(XMLNode annotation, CVTermList CVTerms)
 {
     libsbmlPINVOKE.RDFAnnotationParser_parseRDFAnnotation__SWIG_3(XMLNode.getCPtr(annotation), CVTermList.getCPtr(CVTerms));
 }
        static ModelHistory parseRDFAnnotation(XMLNode annotation)
        {
            IntPtr       cPtr = libsbmlPINVOKE.RDFAnnotationParser_parseRDFAnnotation__SWIG_2(XMLNode.getCPtr(annotation));
            ModelHistory ret  = (cPtr == IntPtr.Zero) ? null : new ModelHistory(cPtr, false);

            return(ret);
        }
        static ModelHistory parseRDFAnnotation(XMLNode annotation, string metaId, XMLInputStream stream)
        {
            IntPtr       cPtr = libsbmlPINVOKE.RDFAnnotationParser_parseRDFAnnotation__SWIG_0(XMLNode.getCPtr(annotation), metaId, XMLInputStream.getCPtr(stream));
            ModelHistory ret  = (cPtr == IntPtr.Zero) ? null : new ModelHistory(cPtr, false);

            return(ret);
        }
        static XMLNode deleteRDFCVTermAnnotation(XMLNode annotation)
        {
            global::System.IntPtr cPtr = libsbmlPINVOKE.RDFAnnotationParser_deleteRDFCVTermAnnotation(XMLNode.getCPtr(annotation));
            XMLNode ret = (cPtr == global::System.IntPtr.Zero) ? null : new XMLNode(cPtr, false);

            return(ret);
        }
        static ModelHistory parseRDFAnnotation(XMLNode annotation, string metaId)
        {
            global::System.IntPtr cPtr = libsbmlPINVOKE.RDFAnnotationParser_parseRDFAnnotation__SWIG_1(XMLNode.getCPtr(annotation), metaId);
            ModelHistory          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ModelHistory(cPtr, false);

            return(ret);
        }
Example #16
0
        static bool hasExpectedXHTMLSyntax(XMLNode xhtml, SBMLNamespaces sbmlns)
        {
            bool ret = libsbmlPINVOKE.SyntaxChecker_hasExpectedXHTMLSyntax__SWIG_0(XMLNode.getCPtr(xhtml), SBMLNamespaces.getCPtr(sbmlns));

            return(ret);
        }
Example #17
0
        static bool hasExpectedXHTMLSyntax(XMLNode xhtml)
        {
            bool ret = libsbmlPINVOKE.SyntaxChecker_hasExpectedXHTMLSyntax__SWIG_1(XMLNode.getCPtr(xhtml));

            return(ret);
        }
 public static void parseRDFAnnotation(XMLNode annotation, CVTermList CVTerms, string metaId, XMLInputStream stream)
 {
     libsbmlPINVOKE.RDFAnnotationParser_parseRDFAnnotation__SWIG_4(XMLNode.getCPtr(annotation), CVTermList.getCPtr(CVTerms), metaId, XMLInputStream.getCPtr(stream));
 }
Example #19
0
        int setMessage(XMLNode xhtml)
        {
            int ret = libsbmlPINVOKE.Constraint_setMessage(swigCPtr, XMLNode.getCPtr(xhtml));

            return(ret);
        }
 public static void parseRDFAnnotation(XMLNode annotation, CVTermList CVTerms, string metaId)
 {
     libsbmlPINVOKE.RDFAnnotationParser_parseRDFAnnotation__SWIG_5(XMLNode.getCPtr(annotation), CVTermList.getCPtr(CVTerms), metaId);
 }