libSBML C++ API
5.20.4
|
Public Member Functions | |
virtual int | allowedInFunctionDefinition (ASTNodeType_t type) const |
Check if the node type is known to be allowed inside function definitions. More... | |
virtual DistribASTPlugin * | clone () const |
Creates and returns a deep copy of this DistribASTPlugin object. More... | |
DistribASTPlugin () | |
Creates a new DistribASTPlugin object. More... | |
DistribASTPlugin (const DistribASTPlugin &orig) | |
DistribASTPlugin (const std::string &uri) | |
virtual double | evaluateASTNode (const ASTNode *node, const Model *m=NULL) const |
virtual UnitDefinition * | getUnitDefinitionFromPackage (UnitFormulaFormatter *uff, const ASTNode *node, bool inKL, int reactNo) const |
virtual bool | hasCorrectNamespace (SBMLNamespaces *namespaces) const |
DistribASTPlugin & | operator= (const DistribASTPlugin &orig) |
Assignment operator for DistribASTPlugin. More... | |
virtual | ~DistribASTPlugin () |
Destructor for DistribASTPlugin. More... | |
DistribASTPlugin::DistribASTPlugin | ( | ) |
Creates a new DistribASTPlugin object.
DistribASTPlugin::DistribASTPlugin | ( | const DistribASTPlugin & | orig | ) |
|
virtual |
Destructor for DistribASTPlugin.
DistribASTPlugin::DistribASTPlugin | ( | const std::string & | uri | ) |
|
virtual |
Check if the node type is known to be allowed inside function definitions.
Function definitions must be able to be evaluated without resort to outside information. Therefore, some ASTNodes (like AST_TIME and AST_FUNCTION_RATE_OF) are disallowed from appearing there. This function checks whether this is true for a given type: a return value of '-1' means the plugin has no knowledge of that type; a return value of '1' means the plugin knows that the type is indeed allowed, and a return value of '0' means that the plugin knows that the type is not allowed.
|
virtual |
Creates and returns a deep copy of this DistribASTPlugin object.
|
virtual |
|
virtual |
|
virtual |
DistribASTPlugin & DistribASTPlugin::operator= | ( | const DistribASTPlugin & | orig | ) |
Assignment operator for DistribASTPlugin.
orig | the object whose values are used as the basis of the assignment. |