28 #ifndef ROCKETVARIANT_H
29 #define ROCKETVARIANT_H
57 template<
typename T >
75 SCRIPTINTERFACE =
'p',
91 void Set(
const byte value);
94 void Set(
const char value);
97 void Set(
const float value);
100 void Set(
const int value);
103 void Set(
const word value);
106 void Set(
const char* value);
109 void Set(
void* value);
112 void Set(
const String& value);
118 void Set(
const Colourf& value);
121 void Set(
const Colourb& value);
129 template<
typename T >
136 template<
typename T >
137 bool GetInto(T& value)
const;
145 #ifdef ROCKET_ARCH_64
146 static const int LOCAL_DATA_SIZE = 40;
148 static const int LOCAL_DATA_SIZE = 24;
151 char data[LOCAL_DATA_SIZE];
154 #include "Variant.inl"
unsigned char byte
Definition: Types.h:50
Definition: ScriptInterface.h:43
Definition: Clipboard.h:33
Definition: StringBase.h:42
unsigned short word
Definition: Types.h:51
Type
Type of data stored in the variant.
Definition: Variant.h:63