| 664 | bool Value::operator!=(const Value& other) const { return !(*this == other); } |
| 665 | |
| 666 | const char* Value::asCString() const { |
| 667 | JSON_ASSERT_MESSAGE(type_ == stringValue, |
| 668 | "in Json::Value::asCString(): requires stringValue"); |
| 669 | if (value_.string_ == 0) return 0; |
| 670 | unsigned this_len; |
| 671 | char const* this_str; |
| 672 | decodePrefixedString(this->allocated_, this->value_.string_, &this_len, &this_str); |
| 673 | return this_str; |
| 674 | } |
| 675 | |
| 676 | #if JSONCPP_USING_SECURE_MEMORY |
| 677 | unsigned Value::getCStringLength() const { |
no test coverage detected