public int getTypeFromName(string name) { int ret = libsbmlPINVOKE.ASTBase_getTypeFromName(swigCPtr, name); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }