diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-07-15 17:11:26 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-07-15 17:11:26 (GMT) |
commit | 5346e18047c0e047db2f1b13dc2c767a73c5c305 (patch) | |
tree | bc5400211360251f121d60efdd50b09f10db11d2 /src/cppvalue.h | |
parent | d723d351b1ec59ad9db456f820d59a6e270f21a4 (diff) | |
download | Doxygen-5346e18047c0e047db2f1b13dc2c767a73c5c305.zip Doxygen-5346e18047c0e047db2f1b13dc2c767a73c5c305.tar.gz Doxygen-5346e18047c0e047db2f1b13dc2c767a73c5c305.tar.bz2 |
Release-1.2.8-20010715
Diffstat (limited to 'src/cppvalue.h')
-rw-r--r-- | src/cppvalue.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/cppvalue.h b/src/cppvalue.h index 159e217..def31c9 100644 --- a/src/cppvalue.h +++ b/src/cppvalue.h @@ -24,13 +24,9 @@ class CPPValue { - friend CPPValue parseOctal(); - friend CPPValue parseDecimal(); - friend CPPValue parseHexadecimal(); - friend CPPValue parseCharacter(); - friend CPPValue parseFloat(); - public: + + enum Type { Int, Float }; CPPValue(long val=0) : type(Int) { v.l = val; } @@ -57,4 +53,10 @@ class CPPValue } v; }; +extern CPPValue parseOctal(); +extern CPPValue parseDecimal(); +extern CPPValue parseHexadecimal(); +extern CPPValue parseCharacter(); +extern CPPValue parseFloat(); + #endif |