copasi API  0.1
Public Member Functions | Public Attributes
CEvaluationNode::CPrecedence Class Reference

#include <CEvaluationNode.h>

List of all members.

Public Member Functions

 CPrecedence (const unsigned C_INT32 &left=0, const unsigned C_INT32 &right=0)
 CPrecedence (const CPrecedence &src)
 ~CPrecedence ()

Public Attributes

unsigned C_INT32 left
unsigned C_INT32 right

Detailed Description

Structure holding the precedence information The Precedence Table ====================

Nodes of type WHITESPACE are ignored. Higher right than left precedence means evaluation proceeds form left to right. Higher left precedence as can be found for the operator '^' means evaluation proceeds from right to left.

left precedence | | right precedence -----------------+--------------+------------------ | LOGIC: | 3 | .not. | 2 4 | .or. | 5 6 | .xor. | 7 8 | .and. | 9 10 | .eq. | 11 12 | .ne. | 13 14 | .gt. | 15 16 | .ge. | 17 18 | .lt. | 19 20 | .le. | 21 -----------------+--------------+------------------ | OPERATOR: | 22 | - | 23 22 | + | 23 26 | % | 27 28 | / | 29 28 | * | 29 33 | ^ | 32 -----------------+--------------+------------------ 35 | FUNCTION | 34 35 | MV_FUNCTION | 34 35 | CALL | 34 35 | CHOICE | 34 -----------------+--------------+------------------ 36 | NUMBER | 37 36 | CONSTANT | 37 36 | OBJECT | 37 36 | VARIABLE | 37 -----------------+--------------+------------------ | STRUCTURE: | ULONG_MAX | (| 1 0 | , | 1 0 |) | ULONG_MAX


Constructor & Destructor Documentation

CEvaluationNode::CPrecedence::CPrecedence ( const unsigned C_INT32 &  left = 0,
const unsigned C_INT32 &  right = 0 
)

Default constructor

Parameters:
constunsigned C_INT32 & left (default: 0)
constunsigned C_INT32 & right (default: 0)
CEvaluationNode::CPrecedence::CPrecedence ( const CPrecedence src)

Copy constructor

Parameters:
constCPrecedence & src
CEvaluationNode::CPrecedence::~CPrecedence ( )

Destructor


Member Data Documentation

The left precedence

The left precedence


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines