#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 |
Definition at line 31 of file cppvalue.h.
|
inline |
Definition at line 32 of file cppvalue.h.
|
inline |
Definition at line 37 of file cppvalue.h.
|
inline |
Definition at line 34 of file cppvalue.h.
|
inline |
Definition at line 35 of file cppvalue.h.
|
inline |
Definition at line 39 of file cppvalue.h.
| 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.
| union { ... } CPPValue::v |
1.8.11