version 1.21, 2005/02/05 22:59:23
|
version 1.22, 2005/11/19 19:19:15
|
|
|
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
|
#include <Pegasus/Common/StrLit.h> |
| |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES | #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
| |
|
|
{ | { |
public: | public: |
| |
enum Type { VOIDT, STRING, BOOLEAN, INTEGER, UINTEGER, LINTEGER, |
enum Type { VOIDT, STRING, CSTRLIT, BOOLEAN, INTEGER, |
ULINTEGER, REAL }; |
UINTEGER, LINTEGER, ULINTEGER, REAL }; |
| |
Arg() : _type(VOIDT) | Arg() : _type(VOIDT) |
{ | { |
|
|
{ | { |
} | } |
| |
|
Arg(const StrLit& x) : _cstrlit(&x), _type(CSTRLIT) |
|
{ |
|
} |
|
|
Arg(Boolean x) : _boolean(x), _type(BOOLEAN) | Arg(Boolean x) : _boolean(x), _type(BOOLEAN) |
{ | { |
} | } |
|
|
| |
String toString() const; | String toString() const; |
| |
|
void appendToString(String& out) const; |
|
|
friend class MessageLoader; //l10n | friend class MessageLoader; //l10n |
| |
private: | private: |
|
|
int _boolean; | int _boolean; |
Sint64 _lInteger; | Sint64 _lInteger; |
Uint64 _lUInteger; | Uint64 _lUInteger; |
|
const StrLit* _cstrlit; |
}; | }; |
| |
Type _type; | Type _type; |