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

Method parse

src/jsoncpp.cpp:284–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284bool
285Reader::parse(const std::string& document, Value& root, bool collectComments) {
286 document_ = document;
287 const char* begin = document_.c_str();
288 const char* end = begin + document_.length();
289 return parse(begin, end, root, collectComments);
290}
291
292bool Reader::parse(std::istream& sin, Value& root, bool collectComments) {
293 // std::istream_iterator<char> begin(sin);

Callers 2

parseMethod · 0.45
parseFromStreamFunction · 0.45

Calls 6

clearMethod · 0.80
emptyMethod · 0.80
setCommentMethod · 0.80
isArrayMethod · 0.80
isObjectMethod · 0.80
lengthMethod · 0.45

Tested by

no test coverage detected