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); }
XMLNode(XMLInputStream stream) : this(libsbmlPINVOKE.new_XMLNode__SWIG_14(XMLInputStream.getCPtr(stream)), true) { if (libsbmlPINVOKE.SWIGPendingException.Pending) { throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); } }
void addExpectedAttributes(SWIGTYPE_p_ExpectedAttributes attributes, XMLInputStream stream) { libsbmlPINVOKE.ASTBase_addExpectedAttributes(swigCPtr, SWIGTYPE_p_ExpectedAttributes.getCPtr(attributes), XMLInputStream.getCPtr(stream)); if (libsbmlPINVOKE.SWIGPendingException.Pending) { throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); } }
void logError(XMLInputStream stream, XMLToken element, int code) { libsbmlPINVOKE.ASTBase_logError__SWIG_1(swigCPtr, XMLInputStream.getCPtr(stream), XMLToken.getCPtr(element), code); if (libsbmlPINVOKE.SWIGPendingException.Pending) { throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); } }
bool read(XMLInputStream stream) { bool ret = libsbmlPINVOKE.ASTBase_read__SWIG_1(swigCPtr, XMLInputStream.getCPtr(stream)); if (libsbmlPINVOKE.SWIGPendingException.Pending) { throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
bool read(XMLInputStream stream, string reqd_prefix, XMLToken currentElement) { bool ret = libsbmlPINVOKE.ASTBasePlugin_read(swigCPtr, XMLInputStream.getCPtr(stream), reqd_prefix, XMLToken.getCPtr(currentElement)); if (libsbmlPINVOKE.SWIGPendingException.Pending) { throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static HandleRef getCPtrAndDisown(XMLInputStream obj) { HandleRef ptr = new HandleRef(null, IntPtr.Zero); if (obj != null) { ptr = obj.swigCPtr; obj.swigCMemOwn = false; } return(ptr); }
/** */ /* libsbml-internal */ public new bool read(XMLInputStream stream) { bool ret = libsbmlPINVOKE.ASTBase_read__SWIG_1(swigCPtr, XMLInputStream.getCPtr(stream)); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }
/** */ /* libsbml-internal */ public new bool read(XMLInputStream stream, string reqd_prefix, XMLToken currentElement) { bool ret = libsbmlPINVOKE.ASTBasePlugin_read(swigCPtr, XMLInputStream.getCPtr(stream), reqd_prefix, XMLToken.getCPtr(currentElement)); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); 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)); }
/** */ /* libsbml-internal */ public bool read(XMLInputStream stream, string reqd_prefix) { bool ret = libsbmlPINVOKE.ASTBase_read__SWIG_0(swigCPtr, XMLInputStream.getCPtr(stream), reqd_prefix); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }
/** * Parses an annotation into a ModelHistory class instance. * * This is used to take an annotation that has been read into an SBML * model, identify the RDF elements representing model history * information, and create a list of corresponding CVTerm objects. * * @param annotation XMLNode containing the annotation. * @param stream optional XMLInputStream that facilitates error logging * @param metaId optional metaId, if set only the rdf annotation for this metaId will be returned. * * @if notclike @note Because this is a @em static method, the non-C++ * language interfaces for libSBML will contain two variants. One will * be a static method on the class (i.e., RDFAnnotationParser), and the * other will be a standalone top-level function with the name * RDFAnnotationParser_parseRDFAnnotation(). They are functionally * identical. @endif * * @return a pointer to the ModelHistory created. */ public 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; }
internal static HandleRef getCPtrAndDisown(XMLInputStream obj) { HandleRef ptr = new HandleRef(null, IntPtr.Zero); if (obj != null) { ptr = obj.swigCPtr; obj.swigCMemOwn = false; } return ptr; }
bool readAttributes(XMLAttributes attributes, SWIGTYPE_p_ExpectedAttributes expectedAttributes, XMLInputStream stream, XMLToken element) { bool ret = libsbmlPINVOKE.ASTBase_readAttributes(swigCPtr, XMLAttributes.getCPtr(attributes), SWIGTYPE_p_ExpectedAttributes.getCPtr(expectedAttributes), XMLInputStream.getCPtr(stream), XMLToken.getCPtr(element)); if (libsbmlPINVOKE.SWIGPendingException.Pending) { throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
/** */ /* libsbml-internal */ public new void logError(XMLInputStream stream, XMLToken element, int code) { libsbmlPINVOKE.ASTBase_logError__SWIG_1(swigCPtr, XMLInputStream.getCPtr(stream), XMLToken.getCPtr(element), code); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); }
/** */ /* libsbml-internal */ public new void addExpectedAttributes(SWIGTYPE_p_ExpectedAttributes attributes, XMLInputStream stream) { libsbmlPINVOKE.ASTBase_addExpectedAttributes(swigCPtr, SWIGTYPE_p_ExpectedAttributes.getCPtr(attributes), XMLInputStream.getCPtr(stream)); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(XMLInputStream obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
/** */ /* libsbml-internal */ public XMLNode(XMLInputStream stream) : this(libsbmlPINVOKE.new_XMLNode__SWIG_14(XMLInputStream.getCPtr(stream)), true) { if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); }
/** */ /* libsbml-internal */ public new bool readAttributes(XMLAttributes attributes, SWIGTYPE_p_ExpectedAttributes expectedAttributes, XMLInputStream stream, XMLToken element) { bool ret = libsbmlPINVOKE.ASTBase_readAttributes(swigCPtr, XMLAttributes.getCPtr(attributes), SWIGTYPE_p_ExpectedAttributes.getCPtr(expectedAttributes), XMLInputStream.getCPtr(stream), XMLToken.getCPtr(element)); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(XMLInputStream obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }