MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / zeroPadding

Function zeroPadding

Tools/FoamGenerator/main.cpp:974–979  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

972}
973
974std::string zeroPadding(const unsigned int number, const unsigned int length)
975{
976 ostringstream out;
977 out << std::internal << std::setfill('0') << std::setw(length) << number;
978 return out.str();
979}
980
981/** Substitute the placeholder in the file name with the current frame number.
982*/

Callers 1

convertFileNameFunction · 0.70

Calls 1

strMethod · 0.45

Tested by

no test coverage detected