| 107 | } |
| 108 | |
| 109 | char *CCallVariable::getString() |
| 110 | { |
| 111 | if (M_type == E_VT_STRING) { |
| 112 | return(M_stringValue); |
| 113 | } else if (M_type == E_VT_REGEXP && M_matchingValue) { |
| 114 | return(M_matchingValue); |
| 115 | } else { |
| 116 | return const_cast<char*>(""); /* BUG BUT NOT SO SERIOUS */ |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | /* Convert this variable to a double. Returns true on success, false on failure. */ |
| 121 | bool CCallVariable::toDouble(double *newValue) |
no outgoing calls
no test coverage detected