MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / get

Method get

libraries/qdcss/src/qdcss.cpp:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44std::optional<QString>* QDCSS::get(QString key)
45{
46 auto found = m_data.find(key);
47
48 if (found == m_data.end() || found->empty()) {
49 return new std::optional<QString>;
50 }
51
52 return new std::optional<QString>(found->back());
53}

Callers 9

startMethod · 0.45
getUuidMethod · 0.45
getTextureMethod · 0.45
getTexturesMethod · 0.45
getParameterMethod · 0.45
addMethod · 0.45
getListMethod · 0.45
getStringMethod · 0.45
isClientMethod · 0.45

Calls 2

findMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected