Class representing top level spl meta types. More...
#include <SPL/Runtime/Type/Meta/Type.h>
Public Types |
|
enum | Value { INVALID = -1, BOOLEAN, ENUM, INT8, INT16, INT32, INT64, UINT8, UINT16, UINT32, UINT64, FLOAT32, FLOAT64, DECIMAL32, DECIMAL64, DECIMAL128, COMPLEX32, COMPLEX64, TIMESTAMP, RSTRING, BSTRING, USTRING, BLOB, LIST, BLIST, SET, BSET, MAP, BMAP, TUPLE, XML, OPTIONAL } |
Public Member Functions |
|
Type () | |
Type (Value v) | |
Type::Value | getValue () const |
std::string | toString () const |
Type & | operator= (Value v) |
operator Type::Value () const | |
Static Public Member Functions |
|
template<class T > | |
static Type | typeOf () |
Class representing top level spl meta types.
Enumerator | |
---|---|
INVALID |
non-SPL type |
BOOLEAN |
boolean in SPL |
ENUM |
enum{...} in SPL |
INT8 |
int8 in SPL |
INT16 |
int16 in SPL |
INT32 |
int32 in SPL |
INT64 |
int64 in SPL |
UINT8 |
uint8 in SPL |
UINT16 |
uint16 in SPL |
UINT32 |
uint32 in SPL |
UINT64 |
uint64 in SPL |
FLOAT32 |
float32 in SPL |
FLOAT64 |
float64 in SPL |
DECIMAL32 |
decimal32 in SPL |
DECIMAL64 |
decimal64 in SPL |
DECIMAL128 |
decimal128 in SPL |
COMPLEX32 |
complex32 in SPL |
COMPLEX64 |
complex64 in SPL |
TIMESTAMP |
timestamp in SPL |
RSTRING |
rstring in SPL |
BSTRING |
rstring[N] in SPL |
USTRING |
ustring in SPL |
BLOB |
blob in SPL |
LIST |
list<T> in SPL |
BLIST |
list<T>[N] in SPL |
SET |
set<T> in SPL |
BSET |
set<T>[N] in SPL |
MAP |
map<K,V> in SPL |
BMAP |
map<K,V>[N] in SPL |
TUPLE |
tuple<...> in SPL |
XML |
xml or xml<...> in SPL |
OPTIONAL |
|
inline |
Constructor
|
inline |
Constructor
v | enumeration value |
|
inline |
Get the enumeration value
std::string SPL::Meta::Type::toString | ( | ) | const |
Get the string representation
'=' operator overload for assigning from an enumeration value
v | enumeration value to assign from |
|
inline |
Cast operator overload for casting to an enumeration value
|
static |