libsbml.OStream.get_ostream C# (CSharp) Méthode

get_ostream() public méthode

public get_ostream ( ) : libsbml.SWIGTYPE_p_std__ostream
Résultat libsbml.SWIGTYPE_p_std__ostream
        public virtual SWIGTYPE_p_std__ostream get_ostream()
        {
            IntPtr cPtr = libsbmlPINVOKE.OStream_get_ostream(swigCPtr);
            SWIGTYPE_p_std__ostream ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_std__ostream(cPtr, false);
            return ret;
        }

Usage Example

 /**
    * Creates a new XMLOutputStream that wraps stream.
    *
    * @if notcpp @htmlinclude warn-default-args-in-docs.html @endif
    */
 public XMLOutputStream(OStream stream, string encoding, bool writeXMLDecl)
     : this(libsbmlPINVOKE.new_XMLOutputStream__SWIG_2(SWIGTYPE_p_std__ostream.getCPtr(stream.get_ostream()), encoding, writeXMLDecl), true)
 {
     if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve();
 }
All Usage Examples Of libsbml.OStream::get_ostream