MCPcopy Create free account
hub / github.com/MyGUI/mygui / clearClipboardData

Method clearClipboardData

MyGUIEngine/src/MyGUI_ClipboardManager.cpp:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 void ClipboardManager::clearClipboardData(std::string_view _type)
65 {
66 MapString::iterator iter = mClipboardData.find(_type);
67 if (iter != mClipboardData.end())
68 mClipboardData.erase(iter);
69 eventClipboardChanged(_type, std::string_view{});
70 }
71
72 std::string ClipboardManager::getClipboardData(std::string_view _type) const
73 {

Callers 1

commandCopyMethod · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected