| 3026 | bool Value::operator!=(const Value& other) const { return !(*this == other); } |
| 3027 | |
| 3028 | const char* Value::asCString() const { |
| 3029 | JSON_ASSERT_MESSAGE(type() == stringValue, |
| 3030 | "in Json::Value::asCString(): requires stringValue"); |
| 3031 | if (value_.string_ == nullptr) |
| 3032 | return nullptr; |
| 3033 | unsigned this_len; |
| 3034 | char const* this_str; |
| 3035 | decodePrefixedString(this->isAllocated(), this->value_.string_, &this_len, |
| 3036 | &this_str); |
| 3037 | return this_str; |
| 3038 | } |
| 3039 | |
| 3040 | #if JSONCPP_USING_SECURE_MEMORY |
| 3041 | unsigned Value::getCStringLength() const { |
nothing calls this directly
no test coverage detected