version 1.4, 2001/04/25 22:20:55
|
version 1.5, 2001/05/27 20:54:32
|
|
|
| |
where <int> is a single digit integer (0 - 9). | where <int> is a single digit integer (0 - 9). |
| |
The variable subsituted my be String, Integer, or real. |
The variable subsituted my be String, Boolean Integer, Unsigned Integer |
|
or real. |
| |
The format subsitution may be escaped by preceding the | The format subsitution may be escaped by preceding the |
$ with a \ | $ with a \ |
|
|
{ | { |
public: | public: |
| |
enum Type { VOID, STRING, INTEGER, REAL }; |
enum Type { VOID, STRING, BOOLEAN, INTEGER, UINTEGER, REAL }; |
| |
Arg() : _type(VOID) | Arg() : _type(VOID) |
{ | { |
|
|
{ | { |
} | } |
| |
|
Arg(Boolean x) : _boolean(x), _type(BOOLEAN) |
|
{ |
|
} |
|
|
Arg(Sint32 x) : _integer(x), _type(INTEGER) | Arg(Sint32 x) : _integer(x), _type(INTEGER) |
{ | { |
} | } |
| |
|
Arg(Uint32 x) : _uinteger(x), _type(UINTEGER) |
|
{ |
|
} |
|
|
|
|
Arg(Real64 x) : _real(x), _type(REAL) | Arg(Real64 x) : _real(x), _type(REAL) |
{ | { |
} | } |
|
|
union | union |
{ | { |
Sint32 _integer; | Sint32 _integer; |
|
Uint32 _uinteger; |
Real64 _real; | Real64 _real; |
|
Boolean _boolean; |
}; | }; |
| |
Type _type; | Type _type; |