| 219 | } |
| 220 | |
| 221 | long int MockNamedValue::getLongIntValue() const |
| 222 | { |
| 223 | if(type_ == "int") |
| 224 | return value_.intValue_; |
| 225 | else if(type_ == "unsigned int") |
| 226 | return (long int)value_.unsignedIntValue_; |
| 227 | else |
| 228 | { |
| 229 | STRCMP_EQUAL("long int", type_.asCharString()); |
| 230 | return value_.longIntValue_; |
| 231 | } |
| 232 | } |
| 233 | |
| 234 | unsigned long int MockNamedValue::getUnsignedLongIntValue() const |
| 235 | { |