MC++
|
Structure defining the numeric field of a factorable program variable. More...
#include <ffunc.hpp>
Public Types | |
enum | TYPE { INT =0, REAL } |
Enumeration type for numeric variables in factorable function. More... | |
Public Member Functions | |
FFNum (const int i=0) | |
Constructor for an integer variable. | |
FFNum (const double d) | |
Constructor for a real variable. | |
FFNum & | operator= (const int i) |
Constructor for an integer scalar. | |
FFNum & | operator= (const double d) |
Constructor for a real scalar. | |
FFNum & | operator= (const FFNum &num) |
Copy constructor. | |
Public Attributes | |
TYPE | t |
Variable type. | |
union { | |
}; | |
Integer/real variable value. | |
mc::FFNum is a C++ structure defining the numeric field of a variable in a factorable function, which can either a real scalar (double), or an integer scalar (int)
enum mc::FFNum::TYPE |