MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GetStringValue

Method GetStringValue

common/MemorySettingsInterface.cpp:118–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118bool MemorySettingsInterface::GetStringValue(const char* section, const char* key, std::string* value) const
119{
120 const auto sit = m_sections.find(section);
121 if (sit == m_sections.end())
122 return false;
123
124 const auto iter = sit->second.find(key);
125 if (iter == sit->second.end())
126 return false;
127
128 *value = iter->second;
129 return true;
130}
131
132bool MemorySettingsInterface::GetStringValue(const char* section, const char* key, SmallStringBase* value) const
133{

Callers 3

EntryMethod · 0.45
_EnumEntryMethod · 0.45
CopyStringValueFunction · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
assignMethod · 0.45

Tested by

no test coverage detected