COPASI API
4.16.103
|
#include <ConverterASTNode.h>
Public Member Functions | |
ConverterASTNode () | |
ConverterASTNode (const ASTNode &templ) | |
ASTNode * | removeChild (unsigned int index) |
void | setChildren (List *children) |
Static Public Member Functions | |
static ASTNode * | shallowCopy (const ASTNode *pOrig) |
Definition at line 23 of file ConverterASTNode.h.
ConverterASTNode::ConverterASTNode | ( | ) |
Standard constructor.
Standard constructor
Definition at line 27 of file ConverterASTNode.cpp.
Referenced by ConverterASTNode(), and shallowCopy().
ConverterASTNode::ConverterASTNode | ( | const ASTNode & | templ | ) |
Constructor that makes a ConverterASTNode from an ASTNode.
Definition at line 64 of file ConverterASTNode.cpp.
References ConverterASTNode(), and isNumber().
ASTNode * ConverterASTNode::removeChild | ( | unsigned int | index | ) |
Removes a child from the list of children.
This function returns true if the node represents a user defined function.
Definition at line 165 of file ConverterASTNode.cpp.
Referenced by SBMLImporter::multiplySubstanceOnlySpeciesByVolume(), SBMLImporter::replace_delay_nodes(), SBMLImporter::replaceAmountReferences(), and shallowCopy().
void ConverterASTNode::setChildren | ( | List * | children | ) |
Sets the list of children to the one given as argument. The list is not copied.
Extension of the ASTNode class from libsbml. This class extends the original ASTNode by some functions to manipulate the children of a node. Sets the list of children to the one given as argument. The list is not copied.
Definition at line 39 of file ConverterASTNode.cpp.
References CCopasiVector< T >::size().
|
static |
This function returns true if the node represents a user defined function.
Constructor that makes a ConverterASTNode from an ASTNode.
Definition at line 177 of file ConverterASTNode.cpp.
References ConverterASTNode(), and removeChild().
Referenced by expand_function_calls(), replace_variable_names(), and CSBMLExporter::replaceL1IncompatibleNodes().