MCPcopy Create free account
hub / github.com/QuEST-Kit/QuEST / print

Function print

quest/src/core/printer.cpp:402–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400
401
402void print(const char* str) {
403
404 if (!comm_isRootNode())
405 return;
406
407 // never prints a trailing newline
408 cout << str;
409}
410
411void print(string str) {
412 print(str.data());

Callers 6

print_newlinesFunction · 0.85
print_oneFewerNewlinesFunction · 0.85
print_labelFunction · 0.85
raiseInternalErrorFunction · 0.85
reportStrFunction · 0.85

Calls 2

comm_isRootNodeFunction · 0.85
toStrFunction · 0.85

Tested by

no test coverage detected