MCPcopy Create free account
hub / github.com/FreeFem/FreeFem-sources / addTimeDiv

Function addTimeDiv

etc/timer/parser.cpp:188–192  ·  view source on GitHub ↗

! * \brief Add div element containing time elapsed to html file * \param it String iterator * \param indent Div indentation */

Source from the content-addressed store, hash-verified

186 * \param indent Div indentation
187 */
188void addTimeDiv (ofstream &htmlFile, vector<string>::iterator it, int indent) {
189 htmlFile << getInd(indent) << "<div class=\"" << getClass(*it) << "\">" << endl;
190 htmlFile << getInd(indent + 1) << "<p>" << getValue(*it) << "</p>" << endl;
191 htmlFile << getInd(indent) <<"</div>" << endl;
192}
193
194/*!
195 * \brief Extract flag on a line

Callers 1

addLogToHtmlFunction · 0.85

Calls 3

getIndFunction · 0.85
getClassFunction · 0.85
getValueFunction · 0.85

Tested by

no test coverage detected