MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / getParamKey

Method getParamKey

src/util/GLFont.cpp:167–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167std::wstring GLFont::getParamKey(const std::wstring& param_str) {
168 std::wstring keyName;
169
170 size_t eqpos = param_str.find(L'=');
171
172 if (eqpos != std::wstring::npos) {
173 keyName = param_str.substr(0, eqpos);
174 }
175
176 return keyName;
177}
178
179std::wstring GLFont::getParamValue(const std::wstring& param_str) {
180 std::wstring value;

Callers

nothing calls this directly

Calls 1

findMethod · 0.80

Tested by

no test coverage detected