#include "ComplexData.h"Go to the source code of this file.
Defines | |
| #define | switchOnEncoding(encoding, function,...) |
| #define | switchOnComplexEncoding(encoding, function,...) |
| #define switchOnComplexEncoding | ( | encoding, | |||
| function, | |||||
| ... | ) |
Definition at line 46 of file switchOnEncoding.h.
| #define switchOnEncoding | ( | encoding, | |||
| function, | |||||
| ... | ) |
Value:
switch (encoding) \ { \ case INT1UBYTE: \ function((unsigned char*)__VA_ARGS__); \ break; \ case INT1SBYTE: \ function((signed char*)__VA_ARGS__); \ break; \ case INT2UBYTES: \ function((unsigned short*)__VA_ARGS__); \ break; \ case INT2SBYTES: \ function((signed short*)__VA_ARGS__); \ break; \ case INT4UBYTES: \ function((unsigned int*)__VA_ARGS__); \ break; \ case INT4SBYTES: \ function((signed int*)__VA_ARGS__); \ break; \ case FLT4BYTES: \ function((float*)__VA_ARGS__); \ break; \ case FLT8BYTES: \ function((double*)__VA_ARGS__); \ break; \ default: \ break; \ }
Definition at line 15 of file switchOnEncoding.h.