MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / decodeNumber

Method decodeNumber

src/jsoncpp.cpp:740–748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

738}
739
740bool Reader::decodeNumber(Token& token) {
741 Value decoded;
742 if (!decodeNumber(token, decoded))
743 return false;
744 currentValue().swapPayload(decoded);
745 currentValue().setOffsetStart(token.start_ - begin_);
746 currentValue().setOffsetLimit(token.end_ - begin_);
747 return true;
748}
749
750bool Reader::decodeNumber(Token& token, Value& decoded) {
751 // Attempts to parse the number as an integer. If the number is

Callers

nothing calls this directly

Calls 3

swapPayloadMethod · 0.80
setOffsetStartMethod · 0.80
setOffsetLimitMethod · 0.80

Tested by

no test coverage detected