Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

ASTIndexNameNode.cpp File Reference

#include "sbmlsolver/ASTIndexNameNode.h"

Include dependency graph for ASTIndexNameNode.cpp:


Functions

ASTNode_t * ASTNode_createIndexName (void)
 Creates a SOSlib specific variant of AST_NAME type ASTNode that can store an index (ASTIndexNameNode).
unsigned int ASTNode_getIndex (ASTNode_t *node)
 Returns the index of an indexed AST_NAME node (ASTIndexNameNode).
void ASTNode_setIndex (ASTNode_t *node, unsigned int index)
 Sets the index of an indexed AST_NAME node (ASTIndexNameNode).
SBML_ODESOLVER_API int ASTNode_isIndexName (ASTNode_t *node)
 Returns true (1) if the ASTNode is an ASTIndexNameNode.
SBML_ODESOLVER_API unsigned
int 
ASTNode_isSetIndex (ASTNode_t *node)
 Returns true (1) if the an indexed ASTNode (ASTIndexNameNode) has it's index set.

Function Documentation

ASTNode_t* ASTNode_createIndexName void   ) 
 

Creates a SOSlib specific variant of AST_NAME type ASTNode that can store an index (ASTIndexNameNode).

This index corresponds to the index of the variable in a value array, allowing fast access to values for evaluation.

unsigned int ASTNode_getIndex ASTNode_t *  node  ) 
 

Returns the index of an indexed AST_NAME node (ASTIndexNameNode).

void ASTNode_setIndex ASTNode_t *  node,
unsigned int  index
 

Sets the index of an indexed AST_NAME node (ASTIndexNameNode).


Generated on Wed Dec 21 18:10:08 2005 for SBML ODE Solver Library API by  doxygen 1.4.4