ListOfFunctionDefinitions clone() { IntPtr cPtr = libsbmlPINVOKE.ListOfFunctionDefinitions_clone(swigCPtr); ListOfFunctionDefinitions ret = (cPtr == IntPtr.Zero) ? null : new ListOfFunctionDefinitions(cPtr, true); return(ret); }
internal static HandleRef getCPtrAndDisown(ListOfFunctionDefinitions obj) { HandleRef ptr = new HandleRef(null, IntPtr.Zero); if (obj != null) { ptr = obj.swigCPtr; obj.swigCMemOwn = false; } return(ptr); }
internal static HandleRef getCPtr(ListOfFunctionDefinitions obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
internal static HandleRef getCPtrAndDisown(ListOfFunctionDefinitions obj) { HandleRef ptr = new HandleRef(null, IntPtr.Zero); if (obj != null) { ptr = obj.swigCPtr; obj.swigCMemOwn = false; } return ptr; }
internal static HandleRef getCPtr(ListOfFunctionDefinitions obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
/** * Expands the math represented by the ASTNode to implement the functionality * of all the FunctionDefinitions in the list, if they occur within the * original math. * * For example, an ASTNode represents the math expression: f(s, g(p, q)) where * f is the id of a FunctionDefinition representing f(x, y) = x * y * and g is the id of a FunctionDefinition representing f(x, y) = x/y * The outcome of the function is that the ASTNode now represents * the math expression: s * p/q * * @param math ASTNode representing the math to be transformed * * @param lofd the ListOfFunctionDefinitions to be expanded * * @param idsToExclude an optional list of function definition ids to exclude. * * * * @if python @note Because this is a static method on a class, the Python * language interface for libSBML will contain two variants. One will be the * expected, normal static method on the class (i.e., a regular * <em>methodName</em>), and the other will be a standalone top-level * function with the name <em>ClassName_methodName()</em>. This is merely an * artifact of how the language interfaces are created in libSBML. The * methods are functionally identical. @endif * * */ /* libsbml-internal */ public static void replaceFD(ASTNode math, ListOfFunctionDefinitions lofd) { libsbmlPINVOKE.SBMLTransforms_replaceFD__SWIG_3(ASTNode.getCPtr(math), ListOfFunctionDefinitions.getCPtr(lofd)); }
/** * Expands the math represented by the ASTNode to implement the functionality * of all the FunctionDefinitions in the list, if they occur within the * original math. * * For example, an ASTNode represents the math expression: f(s, g(p, q)) where * f is the id of a FunctionDefinition representing f(x, y) = x * y * and g is the id of a FunctionDefinition representing f(x, y) = x/y * The outcome of the function is that the ASTNode now represents * the math expression: s * p/q * * @param math ASTNode representing the math to be transformed * * @param lofd the ListOfFunctionDefinitions to be expanded * * @param idsToExclude an optional list of function definition ids to exclude. * * * * @if python @note Because this is a static method on a class, the Python * language interface for libSBML will contain two variants. One will be the * expected, normal static method on the class (i.e., a regular * <em>methodName</em>), and the other will be a standalone top-level * function with the name <em>ClassName_methodName()</em>. This is merely an * artifact of how the language interfaces are created in libSBML. The * methods are functionally identical. @endif * * */ /* libsbml-internal */ public static void replaceFD(ASTNode math, ListOfFunctionDefinitions lofd, IdList idsToExclude) { libsbmlPINVOKE.SBMLTransforms_replaceFD__SWIG_2(ASTNode.getCPtr(math), ListOfFunctionDefinitions.getCPtr(lofd), IdList.getCPtr(idsToExclude)); }
static void replaceFD(ASTNode math, ListOfFunctionDefinitions lofd) { libsbmlPINVOKE.SBMLTransforms_replaceFD__SWIG_3(ASTNode.getCPtr(math), ListOfFunctionDefinitions.getCPtr(lofd)); }
static void replaceFD(ASTNode math, ListOfFunctionDefinitions lofd, IdList idsToExclude) { libsbmlPINVOKE.SBMLTransforms_replaceFD__SWIG_2(ASTNode.getCPtr(math), ListOfFunctionDefinitions.getCPtr(lofd), IdList.getCPtr(idsToExclude)); }