MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / GetValue

Method GetValue

WinArk/Settings.h:122–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120
121 template<typename T>
122 T GetValue(PCWSTR name) const {
123 auto it = _settings.find(name);
124 ATLASSERT(it != _settings.end());
125 ATLASSERT(it->second.Size == sizeof(T));
126 return *(T*)it->second.Buffer.get();
127 }
128
129 template<typename T>
130 T& GetValueRef(PCWSTR name) const {

Callers

nothing calls this directly

Calls 1

endMethod · 0.45

Tested by

no test coverage detected