MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / reset

Method reset

include/jsoncons/json_decoder.hpp:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 void reset()
99 {
100 is_valid_ = false;
101 index_ = 0;
102 item_stack_.clear();
103 structure_stack_.clear();
104 structure_stack_.emplace_back(structure_type::root_t, 0);
105 }
106
107 bool is_valid() const
108 {

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected