MCPcopy Create free account
hub / github.com/Kitware/CMake / decodeDouble

Method decodeDouble

Utilities/cmjsoncpp/src/lib_json/json_reader.cpp:578–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576}
577
578bool Reader::decodeDouble(Token& token) {
579 Value decoded;
580 if (!decodeDouble(token, decoded))
581 return false;
582 currentValue().swapPayload(decoded);
583 currentValue().setOffsetStart(token.start_ - begin_);
584 currentValue().setOffsetLimit(token.end_ - begin_);
585 return true;
586}
587
588bool Reader::decodeDouble(Token& token, Value& decoded) {
589 double value = 0;

Callers

nothing calls this directly

Calls 4

StringFunction · 0.85
swapPayloadMethod · 0.80
setOffsetStartMethod · 0.80
setOffsetLimitMethod · 0.80

Tested by

no test coverage detected