My Project
|
#include <cppvalue.h>
Public Types | |
enum | Type { Int, Float } |
Public Member Functions | |
CPPValue (long val=0) | |
CPPValue (double val) | |
operator double () const | |
operator long () const | |
bool | isInt () const |
void | print () const |
Private Attributes | |
Type | type |
union { | |
double d | |
long l | |
} | v |
A class representing a C-preprocessor value.
Definition at line 26 of file cppvalue.h.
enum CPPValue::Type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
double CPPValue::d |
Definition at line 50 of file cppvalue.h.
long CPPValue::l |
Definition at line 51 of file cppvalue.h.
|
private |
Definition at line 48 of file cppvalue.h.
Referenced by isInt(), operator double(), operator long(), and print().
union { ... } CPPValue::v |
Referenced by CPPValue(), operator double(), operator long(), and print().