| 3259 | bool Value::operator!=(const Value &other) const { return !(*this == other); } |
| 3260 | |
| 3261 | const char *Value::asCString() const |
| 3262 | { |
| 3263 | JSON_ASSERT_MESSAGE(type() == stringValue, "in Json::Value::asCString(): requires stringValue"); |
| 3264 | if (value_.string_ == nullptr) |
| 3265 | return nullptr; |
| 3266 | unsigned this_len; |
| 3267 | char const *this_str; |
| 3268 | decodePrefixedString(this->isAllocated(), this->value_.string_, &this_len, &this_str); |
| 3269 | return this_str; |
| 3270 | } |
| 3271 | |
| 3272 | #if JSONCPP_USING_SECURE_MEMORY |
| 3273 | unsigned Value::getCStringLength() const |
nothing calls this directly
no test coverage detected