Basic Polynomial Algebra Subprograms (BPAS)  v. 1.791
Public Attributes | List of all members
ExprTreeVal Union Reference

ExprTreeVal is the data element of a ExprTreeNode. More...

#include <ExprTreeNode.hpp>

Public Attributes

std::string * var
 
long int i
 
mpz_class * z
 
mpq_class * q
 
Symbolsym
 
void * genericData
 

Detailed Description

ExprTreeVal is the data element of a ExprTreeNode.

the active union member is determined by the ExprTreeNode's type. The data elements here have a one-to-one correspondence to values int he ExprTreeType enum. For example EXPR_VAR <-> var, EXPR_INT <-> i, EXPR_MPZ <-> z.

The final element void* genericData is meant to be 1) a default NULL value when the ExprTreeNode does not need any data itself (as is the case with an operator) or in the future when some flexible, generic data needs to be stored.


The documentation for this union was generated from the following file: