MCPcopy Create free account
hub / github.com/IENT/YUView / formatCoding

Function formatCoding

YUViewLib/src/parser/common/SubByteReaderLogging.cpp:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42{
43
44template <typename T> std::string formatCoding(const std::string formatName, T value)
45{
46 std::ostringstream stringStream;
47 stringStream << formatName;
48 if (formatName.find("(v)") != std::string::npos && formatName != "Calc")
49 stringStream << " -> u(" << value << ")";
50 return stringStream.str();
51}
52
53void checkAndLog(std::shared_ptr<TreeItem> item,
54 const std::string & formatName,

Callers 1

checkAndLogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected