COPASI API  4.40.278
ConverterASTNode Class Reference

#include <ConverterASTNode.h>

Inheritance diagram for ConverterASTNode:
[legend]

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)
 

Constructor & Destructor Documentation

◆ ConverterASTNode() [1/2]

ConverterASTNode::ConverterASTNode ( )

Standard constructor.

Standard constructor

Referenced by ConverterASTNode(), and shallowCopy().

◆ ConverterASTNode() [2/2]

ConverterASTNode::ConverterASTNode ( const ASTNode &  templ)

Constructor that makes a ConverterASTNode from an ASTNode.

References ConverterASTNode(), and isNumber().

Member Function Documentation

◆ removeChild()

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.

Referenced by SBMLImporter::createCFunctionFromFunctionTree(), and shallowCopy().

◆ setChildren()

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.

◆ shallowCopy()

ASTNode * ConverterASTNode::shallowCopy ( const ASTNode *  pOrig)
static

This function returns true if the node represents a user defined function.

Constructor that makes a ConverterASTNode from an ASTNode.

References ConverterASTNode(), and removeChild().

Referenced by CSBMLExporter::replaceL1IncompatibleNodes().


The documentation for this class was generated from the following files: