MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / IsStr

Method IsStr

include/sonic/dom/json_pointer.h:66–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64
65 bool IsNum() const { return is_number_; }
66 bool IsStr() const { return !is_number_; }
67 int GetNum() const { return num_; }
68 const StringType& GetStr() const { return str_; }
69 size_t Size() const { return str_.size(); }

Callers 4

TYPED_TESTFunction · 0.80
DumpMethod · 0.80
atPointerImplFunction · 0.80
GetOnDemandMethod · 0.80

Calls

no outgoing calls

Tested by 2

TYPED_TESTFunction · 0.64
DumpMethod · 0.64