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

Method getValue

YUViewLib/src/parser/common/CodingEnum.h:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 : entryVector(entryVector), unknown(unknown){};
62
63 T getValue(unsigned code) const
64 {
65 for (const auto &entry : this->entryVector)
66 if (entry.code == code)
67 return entry.value;
68 return this->unknown;
69 }
70
71 unsigned getCode(T value) const
72 {

Callers 13

parseMethod · 0.45
getSampleAspectRatioMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected