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

Method FilterKeyHandler

example/filterkeydom/filterkeydom.cpp:23–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 typedef char Ch;
22
23 FilterKeyHandler(OutputHandler& outputHandler, const Ch* keyString, SizeType keyLength) :
24 outputHandler_(outputHandler), keyString_(keyString), keyLength_(keyLength), filterValueDepth_(), filteredKeyCount_()
25 {}
26
27 bool Null() { return filterValueDepth_ > 0 ? EndValue() : outputHandler_.Null() && EndValue(); }
28 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