| 3133 | bool Value::operator!=(const Value& other) const { return !(*this == other); } |
| 3134 | |
| 3135 | const char* Value::asCString() const { |
| 3136 | JSON_ASSERT_MESSAGE(type_ == stringValue, |
| 3137 | "in Json::Value::asCString(): requires stringValue"); |
| 3138 | if (value_.string_ == 0) return 0; |
| 3139 | unsigned this_len; |
| 3140 | char const* this_str; |
| 3141 | decodePrefixedString(this->allocated_, this->value_.string_, &this_len, &this_str); |
| 3142 | return this_str; |
| 3143 | } |
| 3144 | |
| 3145 | #if JSONCPP_USING_SECURE_MEMORY |
| 3146 | unsigned Value::getCStringLength() const { |
no test coverage detected