MCPcopy Create free account
hub / github.com/Illumina/hap.py / asCString

Method asCString

external/jsoncpp/jsoncpp.cpp:2095–2099  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2093bool Value::operator!=(const Value &other) const { return !(*this == other); }
2094
2095const char *Value::asCString() const {
2096 JSON_ASSERT_MESSAGE(type_ == stringValue,
2097 "in Json::Value::asCString(): requires stringValue");
2098 return value_.string_;
2099}
2100
2101std::string Value::asString() const {
2102 switch (type_) {

Callers 2

putMethod · 0.80
writeValueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected