Go to the source code of this file.
Functions | |
switch (foo) |
switch | ( | foo | ) |
Definition at line 48 of file InstructionRegisterSwitch.h.
References STANDARD_TYPE_BINARY, STANDARD_TYPE_BOOL, STANDARD_TYPE_CHAR, STANDARD_TYPE_DOUBLE, STANDARD_TYPE_INT_16, STANDARD_TYPE_INT_32, STANDARD_TYPE_INT_64, STANDARD_TYPE_INT_8, STANDARD_TYPE_REAL, STANDARD_TYPE_UINT_16, STANDARD_TYPE_UINT_32, STANDARD_TYPE_UINT_64, STANDARD_TYPE_UINT_8, STANDARD_TYPE_VARBINARY, and STANDARD_TYPE_VARCHAR.
00048 { // Feed/fool emacs auto-indent 00049 #endif 00050 00051 #ifdef Fennel_InstructionRegisterSwitch_Integral 00052 case STANDARD_TYPE_INT_8: 00053 InstructionRegister::registerInstance<int8_t, INSTCLASS2>(type); 00054 break; 00055 case STANDARD_TYPE_UINT_8: 00056 InstructionRegister::registerInstance<uint8_t, INSTCLASS2>(type); 00057 break; 00058 case STANDARD_TYPE_INT_16: 00059 InstructionRegister::registerInstance<int16_t, INSTCLASS2>(type); 00060 break; 00061 case STANDARD_TYPE_UINT_16: 00062 InstructionRegister::registerInstance<uint16_t, INSTCLASS2>(type); 00063 break; 00064 case STANDARD_TYPE_INT_32: 00065 InstructionRegister::registerInstance<int32_t, INSTCLASS2>(type); 00066 break; 00067 case STANDARD_TYPE_UINT_32: 00068 InstructionRegister::registerInstance<uint32_t, INSTCLASS2>(type); 00069 break; 00070 case STANDARD_TYPE_INT_64: 00071 InstructionRegister::registerInstance<int64_t, INSTCLASS2>(type); 00072 break; 00073 case STANDARD_TYPE_UINT_64: 00074 InstructionRegister::registerInstance<uint64_t, INSTCLASS2>(type); 00075 break; 00076 #endif 00077 00078 00079 #ifdef Fennel_InstructionRegisterSwitch_Bool 00080 case STANDARD_TYPE_BOOL: 00081 InstructionRegister::registerInstance<bool, INSTCLASS2>(type); 00082 break; 00083 #endif 00084 00085 00086 #ifdef Fennel_InstructionRegisterSwitch_Approx 00087 case STANDARD_TYPE_REAL: 00088 InstructionRegister::registerInstance<float, INSTCLASS2>(type); 00089 break; 00090 case STANDARD_TYPE_DOUBLE: 00091 InstructionRegister::registerInstance<double, INSTCLASS2>(type); 00092 break; 00093 #endif 00094 00095 00096 #ifdef Fennel_InstructionRegisterSwitch_Array_Text 00097 case STANDARD_TYPE_CHAR: 00098 InstructionRegister::registerInstance<char*, INSTCLASS2>(type); 00099 break; 00100 case STANDARD_TYPE_VARCHAR: 00101 InstructionRegister::registerInstance<char*, INSTCLASS2>(type); 00102 break; 00103 #endif 00104 00105 00106 #ifdef Fennel_InstructionRegisterSwitch_Array_Binary 00107 case STANDARD_TYPE_BINARY: 00108 InstructionRegister::registerInstance<char*, INSTCLASS2>(type); 00109 break; 00110 case STANDARD_TYPE_VARBINARY: 00111 InstructionRegister::registerInstance<char*, INSTCLASS2>(type); 00112 break; 00113 #endif 00114 00115 00116 // Be sure all defines are undefined as this file tends to be 00117 // included multiple times. 00118 #undef Fennel_InstructionRegisterSwitch_NativeNotBool 00119 #undef Fennel_InstructionRegisterSwitch_Array 00120 #undef Fennel_InstructionRegisterSwitch_Integral 00121 #undef Fennel_InstructionRegisterSwitch_Bool 00122 #undef Fennel_InstructionRegisterSwitch_Approx 00123 #undef Fennel_InstructionRegisterSwitch_Array_Text 00124 #undef Fennel_InstructionRegisterSwitch_Array_Binary 00125 00126 #if 0 00127 } // Feed/fool emacs auto-indent