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

Function printHeader

quest/src/core/printer.cpp:1399–1413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1397
1398
1399void printHeader(string name, vector<string> notes) {
1400
1401 // only root node prints
1402 if (!comm_isRootNode())
1403 return;
1404
1405 cout << name << HEADER_OPEN_BRACKET;
1406
1407 // safely assume notes.size() > 0
1408 for (size_t i=0; i<notes.size() - 1; i++)
1409 cout << notes[i] << HEADER_DELIMITER;
1410
1411 cout << notes.back() << HEADER_CLOSE_BRACKET;
1412 cout << endl;
1413}
1414
1415
1416template <class T>

Callers 2

printMatrixHeaderFunction · 0.85
print_headerFunction · 0.85

Calls 1

comm_isRootNodeFunction · 0.85

Tested by

no test coverage detected