MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / JsonIterator

Class JsonIterator

eval/CIPO_evaluation/common/gason.h:88–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86};
87
88struct JsonIterator {
89 JsonNode *p;
90
91 void operator++() {
92 p = p->next;
93 }
94 bool operator!=(const JsonIterator &x) const {
95 return p != x.p;
96 }
97 JsonNode *operator*() const {
98 return p;
99 }
100 JsonNode *operator->() const {
101 return p;
102 }
103};
104
105inline JsonIterator begin(JsonValue o) {
106 return JsonIterator{o.toNode()};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected