| 3084 | bool Value::operator!=(const Value& other) const { return !(*this == other); } |
| 3085 | |
| 3086 | const char* Value::asCString() const { |
| 3087 | JSON_ASSERT_MESSAGE(type_ == stringValue, |
| 3088 | "in Json::Value::asCString(): requires stringValue"); |
| 3089 | if (value_.string_ == 0) |
| 3090 | return 0; |
| 3091 | unsigned this_len; |
| 3092 | char const* this_str; |
| 3093 | decodePrefixedString(this->allocated_, this->value_.string_, &this_len, |
| 3094 | &this_str); |
| 3095 | return this_str; |
| 3096 | } |
| 3097 | |
| 3098 | #if JSONCPP_USING_SECURE_MEMORY |
| 3099 | unsigned Value::getCStringLength() const { |
no test coverage detected