Types¶
#include "types.tcc"
Get a struct formatted representation of the type of a value.
type | encoding | description |
---|---|---|
bool |
? |
Boolean. |
unsigned long int |
L |
Unsigned integer. |
char const* |
s |
String. |
Tuple<int, signed char, unsigned long> |
ibL |
Tuple (no internal structure). |
Object<Object<char, int>, unsigned long> |
((ci)L) |
Object (internal structure is preserved). |
Vector<int> |
[i] |
Vector. |
Functions¶
-
void
rpcTypeOf
(Stream &io, bool)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, char)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, signed char)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, unsigned char)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, short int)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, unsigned short int)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, long int)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, unsigned long int)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, long long int)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, unsigned long long int)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, float)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, String&)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, char *)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, char const *)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, int)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
rpcTypeOf
(Stream &io, double)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
- template <class… Membs>
-
void
rpcTypeOf
(Stream &io, Tuple<Membs...> &t)¶ Get the types of all members of a Tuple.
- Parameters
io
-Input / output object.
t
-
- template <class… Membs>
-
void
rpcTypeOf
(Stream &io, Object<Membs...> &o)¶ Get the types of all members of an Object.
- Parameters
io
-Input / output object.
t
-
- template <class T>
-
void
rpcTypeOf
(Stream &io, Vector<T>&)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
- template <class T>
-
void
rpcTypeOf
(Stream &io, T *)¶ Type encoding.
- Parameters
io
-Input / output object.
-
-Value.
-
void
hardwareDefs
(Stream &io)¶ Determine endianness and type of
size_t
.- Parameters
io
-Input / output object.