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

Function formatArray

YUViewLib/src/parser/common/Functions.h:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42{
43
44template <typename T> std::string formatArray(std::string variableName, T idx)
45{
46 return variableName + "[" + std::to_string(idx) + "]";
47}
48
49template <typename T1, typename T2>
50std::string formatArray(std::string variableName, T1 idx1, T2 idx2)

Callers 15

parse_ATSC1_dataFunction · 0.85
parsePixelDataSubBlockFunction · 0.85
parseMethod · 0.85
parseMethod · 0.85
parseMethod · 0.85
parseMethod · 0.85
parseMethod · 0.85
parseMethod · 0.85
parseMethod · 0.85
parseMethod · 0.85

Calls 1

to_stringFunction · 0.50

Tested by

no test coverage detected