MCPcopy Create free account
hub / github.com/apitrace/apitrace / FileCallSetParser

Method FileCallSetParser

lib/trace/trace_callset.cpp:201–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200public:
201 FileCallSetParser(CallSet &_set, const char *filename) :
202 CallSetParser(_set)
203 {
204 stream.open(filename);
205 if (!stream.is_open()) {
206 std::cerr << "error: failed to open \"" << filename << "\"\n";
207 exit(1);
208 }
209
210 stream.get(lookahead);
211 }
212
213 char consume() override {
214 char c = lookahead;

Callers

nothing calls this directly

Calls 1

openMethod · 0.45

Tested by

no test coverage detected