MCPcopy Create free account
hub / github.com/Tencent/rapidjson / FilterKeyHandler

Method FilterKeyHandler

example/filterkey/filterkey.cpp:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 typedef char Ch;
21
22 FilterKeyHandler(OutputHandler& outputHandler, const Ch* keyString, SizeType keyLength) :
23 outputHandler_(outputHandler), keyString_(keyString), keyLength_(keyLength), filterValueDepth_(), filteredKeyCount_()
24 {}
25
26 bool Null() { return filterValueDepth_ > 0 ? EndValue() : outputHandler_.Null() && EndValue(); }
27 bool Bool(bool b) { return filterValueDepth_ > 0 ? EndValue() : outputHandler_.Bool(b) && EndValue(); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected