public void open(string filename) { libsbmlPINVOKE.OFStream_open__SWIG_1(swigCPtr, filename); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); }