MCPcopy Create free account
hub / github.com/CMU-Perceptual-Computing-Lab/openpose / arrayOpen

Method arrayOpen

src/openpose/filestream/jsonOfstream.cpp:130–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 void JsonOfstream::arrayOpen()
131 {
132 try
133 {
134 mBracketsCounter++;
135 *upOfstream << "[";
136 enterAndTab(*upOfstream, mHumanReadable, mBracesCounter, mBracketsCounter);
137 }
138 catch (const std::exception& e)
139 {
140 error(e.what(), __LINE__, __FUNCTION__, __FILE__);
141 }
142 }
143
144 void JsonOfstream::arrayClose()
145 {

Callers 4

CocoJsonSaverMethod · 0.80
recordMethod · 0.80
addKeypointsToJsonFunction · 0.80
addCandidatesToJsonFunction · 0.80

Calls 3

enterAndTabFunction · 0.85
whatMethod · 0.80
errorFunction · 0.50

Tested by

no test coverage detected